public class ELLearningAlgorithm extends AbstractCELA
MAX_NR_OF_RESULTS| Constructor and Description |
|---|
ELLearningAlgorithm() |
ELLearningAlgorithm(AbstractClassExpressionLearningProblem problem,
AbstractReasonerComponent reasoner) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.semanticweb.owlapi.model.OWLClass> |
getIgnoredConcepts() |
double |
getNoisePercentage() |
org.semanticweb.owlapi.model.OWLClassExpression |
getStartClass() |
SearchTreeNode |
getStartNode() |
void |
init()
Method to be called after the component has been configured.
|
boolean |
isInstanceBasedDisjoints() |
boolean |
isStopOnFirstDefinition() |
void |
setClassToDescribe(org.semanticweb.owlapi.model.OWLClass classToDescribe) |
void |
setHeuristic(ELHeuristic heuristic) |
void |
setIgnoredConcepts(Set<org.semanticweb.owlapi.model.OWLClass> ignoredConcepts) |
void |
setInstanceBasedDisjoints(boolean instanceBasedDisjoints) |
void |
setMaxClassExpressionDepth(int maxClassExpressionDepth) |
void |
setMaxNrOfResults(int maxNrOfResults) |
void |
setNoisePercentage(double noisePercentage) |
void |
setReplaceSearchTree(boolean replaceSearchTree) |
void |
setSearchTreeFile(String searchTreeFile) |
void |
setStartClass(org.semanticweb.owlapi.model.OWLClassExpression startClass) |
void |
setStopOnFirstDefinition(boolean stopOnFirstDefinition) |
void |
setWriteSearchTree(boolean writeSearchTree) |
void |
start()
Starts the algorithm.
|
changeLearningProblem, changeReasonerComponent, getAllowedConcepts, getAllowedDataProperties, getAllowedObjectProperties, getCurrentlyBestDescription, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestEvaluatedDescription, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestMostGeneralEvaluatedDescriptions, getIgnoredDataProperties, getIgnoredObjectProperties, getLearningProblem, getMaxExecutionTimeInSeconds, getReasoner, isRunning, isUseMinimizer, setAllowedConcepts, setAllowedDataProperties, setAllowedObjectProperties, setIgnoredDataProperties, setIgnoredObjectProperties, setLearningProblem, setMaxExecutionTime, setMaxExecutionTimeInSeconds, setReasoner, setRenderer, setUseMinimizer, stop, supportedLearningProblemsisInitializedpublic ELLearningAlgorithm()
public ELLearningAlgorithm(AbstractClassExpressionLearningProblem problem, AbstractReasonerComponent reasoner)
public void init() throws ComponentInitException
ComponentComponentInitException - This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
re-throw occurring exception as ComponentInitException and
giving an error message as well as the actually exception by
using the constructor ComponentInitException(String, Throwable).public void start()
LearningAlgorithmpublic void setHeuristic(ELHeuristic heuristic)
heuristic - the heuristic to setpublic boolean isInstanceBasedDisjoints()
public void setInstanceBasedDisjoints(boolean instanceBasedDisjoints)
public void setStopOnFirstDefinition(boolean stopOnFirstDefinition)
stopOnFirstDefinition - the stopOnFirstDefinition to setpublic boolean isStopOnFirstDefinition()
public SearchTreeNode getStartNode()
public double getNoisePercentage()
public void setNoisePercentage(double noisePercentage)
noisePercentage - the noise in percentage to setpublic void setStartClass(org.semanticweb.owlapi.model.OWLClassExpression startClass)
startClass - the start class to setpublic org.semanticweb.owlapi.model.OWLClassExpression getStartClass()
public void setIgnoredConcepts(Set<org.semanticweb.owlapi.model.OWLClass> ignoredConcepts)
setIgnoredConcepts in class AbstractCELAignoredConcepts - the ignored concepts to setpublic Set<org.semanticweb.owlapi.model.OWLClass> getIgnoredConcepts()
getIgnoredConcepts in class AbstractCELApublic void setClassToDescribe(org.semanticweb.owlapi.model.OWLClass classToDescribe)
classToDescribe - the classToDescribe to setpublic void setMaxNrOfResults(int maxNrOfResults)
maxNrOfResults - the maxNrOfResults to setpublic void setMaxClassExpressionDepth(int maxClassExpressionDepth)
maxClassExpressionDepth - the maximum class expression depth to setpublic void setWriteSearchTree(boolean writeSearchTree)
writeSearchTree - the writeSearchTree to setpublic void setSearchTreeFile(String searchTreeFile)
searchTreeFile - the searchTreeFile to setpublic void setReplaceSearchTree(boolean replaceSearchTree)
replaceSearchTree - the replaceSearchTree to set
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann