public class NaiveALLearner extends AbstractCELA
MAX_NR_OF_RESULTS
Constructor and Description |
---|
NaiveALLearner() |
NaiveALLearner(AbstractClassExpressionLearningProblem lp,
AbstractReasonerComponent reasoner) |
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLClassExpression |
getCurrentlyBestDescription() |
EvaluatedDescription |
getCurrentlyBestEvaluatedDescription()
Returns the best descriptions obtained so far.
|
int |
getMaxLength() |
void |
init()
Method to be called after the component has been configured.
|
boolean |
isRunning()
Returns whether the learning algorithm is running.
|
void |
setMaxLength(int length) |
void |
start()
Starts the algorithm.
|
void |
stop()
Stops the algorithm gracefully.
|
changeLearningProblem, changeReasonerComponent, getAllowedConcepts, getAllowedDataProperties, getAllowedObjectProperties, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestMostGeneralEvaluatedDescriptions, getIgnoredConcepts, getIgnoredDataProperties, getIgnoredObjectProperties, getLearningProblem, getMaxExecutionTimeInSeconds, getReasoner, isUseMinimizer, setAllowedConcepts, setAllowedDataProperties, setAllowedObjectProperties, setIgnoredConcepts, setIgnoredDataProperties, setIgnoredObjectProperties, setLearningProblem, setMaxExecutionTime, setMaxExecutionTimeInSeconds, setReasoner, setRenderer, setUseMinimizer, supportedLearningProblems
isInitialized
public NaiveALLearner()
public NaiveALLearner(AbstractClassExpressionLearningProblem lp, AbstractReasonerComponent reasoner)
public void start()
LearningAlgorithm
public void init() throws ComponentInitException
Component
ComponentInitException
- 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 stop()
StoppableLearningAlgorithm
stop
in interface StoppableLearningAlgorithm
stop
in class AbstractCELA
public boolean isRunning()
StoppableLearningAlgorithm
isRunning
in interface StoppableLearningAlgorithm
isRunning
in class AbstractCELA
public org.semanticweb.owlapi.model.OWLClassExpression getCurrentlyBestDescription()
getCurrentlyBestDescription
in class AbstractCELA
AbstractCELA.getCurrentlyBestEvaluatedDescription()
public EvaluatedDescription getCurrentlyBestEvaluatedDescription()
AbstractCELA
getCurrentlyBestEvaluatedDescription
in class AbstractCELA
public void setMaxLength(int length)
public int getMaxLength()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann