|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.utilities.components.ComponentCombo
public class ComponentCombo
A mix of components, which are typically combined to create a full learning task. Add more constructors if you like (they should be useful in general, not just for a very specific scenario).
| Constructor Summary | |
|---|---|
ComponentCombo(AbstractKnowledgeSource source,
AbstractReasonerComponent reasoner,
AbstractLearningProblem problem,
AbstractCELA algorithm)
Builds a component combination object from the specified components. |
|
ComponentCombo(Set<AbstractKnowledgeSource> sources,
AbstractReasonerComponent reasoner,
AbstractLearningProblem problem,
AbstractCELA algorithm)
Builds a component combination object from the specified components. |
|
ComponentCombo(URL owlFile,
Set<String> posExamples,
Set<String> negExamples)
Builds a standard combination of components. |
|
| Method Summary | |
|---|---|
AbstractCELA |
getAlgorithm()
|
AbstractLearningProblem |
getProblem()
|
AbstractReasonerComponent |
getReasoner()
|
Set<AbstractKnowledgeSource> |
getSources()
|
void |
initAll()
Initialise all components. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentCombo(AbstractKnowledgeSource source,
AbstractReasonerComponent reasoner,
AbstractLearningProblem problem,
AbstractCELA algorithm)
source - A knowledge source.reasoner - A reasoner.problem - A learning problem.algorithm - A learning algorithm.
public ComponentCombo(Set<AbstractKnowledgeSource> sources,
AbstractReasonerComponent reasoner,
AbstractLearningProblem problem,
AbstractCELA algorithm)
sources - A set of knowledge sources.reasoner - A reasoner.problem - A learning problem.algorithm - A learning algorithm.
public ComponentCombo(URL owlFile,
Set<String> posExamples,
Set<String> negExamples)
owlFile - URL of an OWL file (background knowledge).posExamples - Set of positive examples.negExamples - Set of negative examples.| Method Detail |
|---|
public void initAll()
throws ComponentInitException
ComponentInitException - Thrown if a component could not be initialised properly.public Set<AbstractKnowledgeSource> getSources()
public AbstractReasonerComponent getReasoner()
public AbstractLearningProblem getProblem()
public AbstractCELA getAlgorithm()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||