All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geneontology.whelk.owlapi.WhelkOWLReasonerFactory.scala Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package org.geneontology.whelk.owlapi

import org.semanticweb.owlapi.model.OWLOntology
import org.semanticweb.owlapi.reasoner.{BufferingMode, OWLReasoner, OWLReasonerConfiguration, OWLReasonerFactory}

class WhelkOWLReasonerFactory extends OWLReasonerFactory {

  def createNonBufferingReasoner(ontology: OWLOntology): OWLReasoner = new WhelkOWLReasoner(ontology, BufferingMode.NON_BUFFERING)

  def createNonBufferingReasoner(ontology: OWLOntology, config: OWLReasonerConfiguration): OWLReasoner = new WhelkOWLReasoner(ontology, BufferingMode.NON_BUFFERING)

  def createReasoner(ontology: OWLOntology): OWLReasoner = new WhelkOWLReasoner(ontology, BufferingMode.BUFFERING)

  def createReasoner(ontology: OWLOntology, config: OWLReasonerConfiguration): OWLReasoner = new WhelkOWLReasoner(ontology, BufferingMode.BUFFERING)

  def getReasonerName: String = "Whelk"

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy