org.semanticweb.elk.reasoner
Class ReasonerFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReasonerFactory
public ReasonerFactory()
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.