org.semanticweb.elk.reasoner
Class ReasonerFactory

java.lang.Object
  extended by org.semanticweb.elk.reasoner.ReasonerFactory

public class ReasonerFactory
extends Object

The main factory to instantiate Reasoner

Author:
Pavel Klinov pavel.klinov@uni-ulm.de, Yevgeny Kazakov

Constructor Summary
ReasonerFactory()
           
 
Method Summary
 Reasoner createReasoner(AxiomLoader axiomLoader)
           
 Reasoner createReasoner(AxiomLoader axiomLoader, ReasonerStageExecutor stageExecutor)
          Creates Reasoner with the configuration loaded from elk.properties (if exists in the classpath) or the default configuration
 Reasoner createReasoner(AxiomLoader axiomLoader, ReasonerStageExecutor stageExecutor, ExecutorService executor, ReasonerConfiguration config)
           
 Reasoner createReasoner(AxiomLoader axiomLoader, ReasonerStageExecutor stageExecutor, ReasonerConfiguration config)
          Creates Reasoner with the provided configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReasonerFactory

public ReasonerFactory()
Method Detail

createReasoner

public Reasoner createReasoner(AxiomLoader axiomLoader)

createReasoner

public Reasoner createReasoner(AxiomLoader axiomLoader,
                               ReasonerStageExecutor stageExecutor)
Creates Reasoner with the configuration loaded from elk.properties (if exists in the classpath) or the default configuration

Parameters:
stageExecutor -
Returns:
ELK reasoner

createReasoner

public Reasoner createReasoner(AxiomLoader axiomLoader,
                               ReasonerStageExecutor stageExecutor,
                               ReasonerConfiguration config)
Creates Reasoner with the provided configuration

Parameters:
stageExecutor -
config -
Returns:
ELK reasoner

createReasoner

public Reasoner createReasoner(AxiomLoader axiomLoader,
                               ReasonerStageExecutor stageExecutor,
                               ExecutorService executor,
                               ReasonerConfiguration config)


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.