org.dllearner.core.configurators
Class ComponentFactory
java.lang.Object
org.dllearner.core.configurators.ComponentFactory
public final class ComponentFactory
- extends Object
automatically generated, do not edit manually.
run org.dllearner.scripts.ConfigJavaGenerator to update
|
Method Summary |
static BruteForceLearner |
getBruteForceLearner(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static CELOE |
getCELOE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static ClassLearningProblem |
getClassLearningProblem(AbstractReasonerComponent reasoningService,
URL classToDescribe)
|
static DIGReasoner |
getDIGReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
|
static ELLearningAlgorithm |
getELLearningAlgorithm(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static ELLearningAlgorithmDisjunctive |
getELLearningAlgorithmDisjunctive(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static FastInstanceChecker |
getFastInstanceChecker(Set<AbstractKnowledgeSource> knowledgeSource)
|
static FastRetrievalReasoner |
getFastRetrievalReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
|
static FuzzyCELOE |
getFuzzyCELOE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static FuzzyOWLAPIReasoner |
getFuzzyOWLAPIReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
|
static FuzzyPosNegLPStandard |
getFuzzyPosNegLPStandard(AbstractReasonerComponent reasoningService,
Set<Object> fuzzyExamples,
Set<String> positiveExamples,
Set<String> negativeExamples)
|
static GP |
getGP(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static ISLE |
getISLE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static KBFile |
getKBFile()
|
static OCEL |
getOCEL(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static OWLAPIOntology |
getOWLAPIOntology()
|
static OWLAPIReasoner |
getOWLAPIReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
|
static OWLFile |
getOWLFile(URL url)
|
static PelletReasoner |
getPelletReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
|
static PosNegLPStandard |
getPosNegLPStandard(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
|
static PosNegLPStrict |
getPosNegLPStrict(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
|
static PosOnlyLP |
getPosOnlyLP(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples)
|
static ProtegeReasoner |
getProtegeReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
|
static RandomGuesser |
getRandomGuesser(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static ROLearner |
getROLearner(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
static SparqlKnowledgeSource |
getSparqlKnowledgeSource(URL url,
Set<String> instances)
|
getKBFile
public static KBFile getKBFile()
- Returns:
- a component ready for initialization KBFile
getOWLAPIOntology
public static OWLAPIOntology getOWLAPIOntology()
- Returns:
- a component ready for initialization OWLAPIOntology
getOWLFile
public static OWLFile getOWLFile(URL url)
- Parameters:
url - URL pointing to the OWL file
- Returns:
- a component ready for initialization OWLFile
getSparqlKnowledgeSource
public static SparqlKnowledgeSource getSparqlKnowledgeSource(URL url,
Set<String> instances)
- Parameters:
url - URL of SPARQL Endpointinstances - relevant instances e.g. positive and negative examples in a learning problem
- Returns:
- a component ready for initialization SparqlKnowledgeSource
getDIGReasoner
public static DIGReasoner getDIGReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization DIGReasoner
getFastInstanceChecker
public static FastInstanceChecker getFastInstanceChecker(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization FastInstanceChecker
getFastRetrievalReasoner
public static FastRetrievalReasoner getFastRetrievalReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization FastRetrievalReasoner
getOWLAPIReasoner
public static OWLAPIReasoner getOWLAPIReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization OWLAPIReasoner
getPelletReasoner
public static PelletReasoner getPelletReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization PelletReasoner
getProtegeReasoner
public static ProtegeReasoner getProtegeReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization ProtegeReasoner
getFuzzyOWLAPIReasoner
public static FuzzyOWLAPIReasoner getFuzzyOWLAPIReasoner(Set<AbstractKnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization FuzzyOWLAPIReasoner
getClassLearningProblem
public static ClassLearningProblem getClassLearningProblem(AbstractReasonerComponent reasoningService,
URL classToDescribe)
- Parameters:
classToDescribe - class of which a description should be learnedreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ClassLearningProblem
getPosNegLPStandard
public static PosNegLPStandard getPosNegLPStandard(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
- Parameters:
positiveExamples - positive examplesnegativeExamples - negative examplesreasoningService - see ReasoningService
- Returns:
- a component ready for initialization PosNegLPStandard
getPosNegLPStrict
public static PosNegLPStrict getPosNegLPStrict(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
- Parameters:
positiveExamples - positive examplesnegativeExamples - negative examplesreasoningService - see ReasoningService
- Returns:
- a component ready for initialization PosNegLPStrict
getPosOnlyLP
public static PosOnlyLP getPosOnlyLP(AbstractReasonerComponent reasoningService,
Set<String> positiveExamples)
- Parameters:
positiveExamples - positive examplesreasoningService - see ReasoningService
- Returns:
- a component ready for initialization PosOnlyLP
getFuzzyPosNegLPStandard
public static FuzzyPosNegLPStandard getFuzzyPosNegLPStandard(AbstractReasonerComponent reasoningService,
Set<Object> fuzzyExamples,
Set<String> positiveExamples,
Set<String> negativeExamples)
- Parameters:
fuzzyExamples - fuzzy examplespositiveExamples - positive examplesnegativeExamples - negative examplesreasoningService - see ReasoningService
- Returns:
- a component ready for initialization FuzzyPosNegLPStandard
getBruteForceLearner
public static BruteForceLearner getBruteForceLearner(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization BruteForceLearner
- Throws:
LearningProblemUnsupportedException - see
getRandomGuesser
public static RandomGuesser getRandomGuesser(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization RandomGuesser
- Throws:
LearningProblemUnsupportedException - see
getCELOE
public static CELOE getCELOE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization CELOE
- Throws:
LearningProblemUnsupportedException - see
getELLearningAlgorithm
public static ELLearningAlgorithm getELLearningAlgorithm(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ELLearningAlgorithm
- Throws:
LearningProblemUnsupportedException - see
getELLearningAlgorithmDisjunctive
public static ELLearningAlgorithmDisjunctive getELLearningAlgorithmDisjunctive(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ELLearningAlgorithmDisjunctive
- Throws:
LearningProblemUnsupportedException - see
getFuzzyCELOE
public static FuzzyCELOE getFuzzyCELOE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization FuzzyCELOE
- Throws:
LearningProblemUnsupportedException - see
getGP
public static GP getGP(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization GP
- Throws:
LearningProblemUnsupportedException - see
getISLE
public static ISLE getISLE(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ISLE
- Throws:
LearningProblemUnsupportedException - see
getOCEL
public static OCEL getOCEL(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization OCEL
- Throws:
LearningProblemUnsupportedException - see
getROLearner
public static ROLearner getROLearner(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ROLearner
- Throws:
LearningProblemUnsupportedException - see
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann