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(LearningProblem learningProblem,
ReasonerComponent reasoningService)
|
static CELOE |
getCELOE(LearningProblem learningProblem,
ReasonerComponent reasoningService)
|
static ClassLearningProblem |
getClassLearningProblem(ReasonerComponent reasoningService,
String classToDescribe)
|
static DIGReasoner |
getDIGReasoner(Set<KnowledgeSource> knowledgeSource)
|
static ELLearningAlgorithm |
getELLearningAlgorithm(LearningProblem learningProblem,
ReasonerComponent reasoningService)
|
static FastInstanceChecker |
getFastInstanceChecker(Set<KnowledgeSource> knowledgeSource)
|
static FastRetrievalReasoner |
getFastRetrievalReasoner(Set<KnowledgeSource> knowledgeSource)
|
static GP |
getGP(LearningProblem learningProblem,
ReasonerComponent reasoningService)
|
static KBFile |
getKBFile()
|
static OWLAPIOntology |
getOWLAPIOntology()
|
static OWLAPIReasoner |
getOWLAPIReasoner(Set<KnowledgeSource> knowledgeSource)
|
static OWLFile |
getOWLFile(URL url)
|
static PosNegLPStandard |
getPosNegLPStandard(ReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
|
static PosNegLPStrict |
getPosNegLPStrict(ReasonerComponent reasoningService,
Set<String> positiveExamples,
Set<String> negativeExamples)
|
static PosOnlyLP |
getPosOnlyLP(ReasonerComponent reasoningService,
Set<String> positiveExamples)
|
static RandomGuesser |
getRandomGuesser(LearningProblem learningProblem,
ReasonerComponent reasoningService)
|
static ROLComponent2 |
getROLComponent2(LearningProblem learningProblem,
ReasonerComponent reasoningService)
|
static ROLearner |
getROLearner(LearningProblem learningProblem,
ReasonerComponent 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<KnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization DIGReasoner
getFastInstanceChecker
public static FastInstanceChecker getFastInstanceChecker(Set<KnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization FastInstanceChecker
getFastRetrievalReasoner
public static FastRetrievalReasoner getFastRetrievalReasoner(Set<KnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization FastRetrievalReasoner
getOWLAPIReasoner
public static OWLAPIReasoner getOWLAPIReasoner(Set<KnowledgeSource> knowledgeSource)
- Parameters:
knowledgeSource - see KnowledgeSource
- Returns:
- a component ready for initialization OWLAPIReasoner
getClassLearningProblem
public static ClassLearningProblem getClassLearningProblem(ReasonerComponent reasoningService,
String 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(ReasonerComponent 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(ReasonerComponent 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(ReasonerComponent reasoningService,
Set<String> positiveExamples)
- Parameters:
positiveExamples - positive examplesreasoningService - see ReasoningService
- Returns:
- a component ready for initialization PosOnlyLP
getBruteForceLearner
public static BruteForceLearner getBruteForceLearner(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization BruteForceLearner
- Throws:
LearningProblemUnsupportedException - see
getRandomGuesser
public static RandomGuesser getRandomGuesser(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization RandomGuesser
- Throws:
LearningProblemUnsupportedException - see
getCELOE
public static CELOE getCELOE(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization CELOE
- Throws:
LearningProblemUnsupportedException - see
getELLearningAlgorithm
public static ELLearningAlgorithm getELLearningAlgorithm(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ELLearningAlgorithm
- Throws:
LearningProblemUnsupportedException - see
getGP
public static GP getGP(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization GP
- Throws:
LearningProblemUnsupportedException - see
getROLearner
public static ROLearner getROLearner(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ROLearner
- Throws:
LearningProblemUnsupportedException - see
getROLComponent2
public static ROLComponent2 getROLComponent2(LearningProblem learningProblem,
ReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
- Parameters:
learningProblem - see LearningProblemreasoningService - see ReasoningService
- Returns:
- a component ready for initialization ROLComponent2
- Throws:
LearningProblemUnsupportedException - see
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann