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, supportedLearningProblemsisInitializedpublic NaiveALLearner()
public NaiveALLearner(AbstractClassExpressionLearningProblem lp, AbstractReasonerComponent reasoner)
public void start()
LearningAlgorithmpublic 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 stop()
StoppableLearningAlgorithmstop in interface StoppableLearningAlgorithmstop in class AbstractCELApublic boolean isRunning()
StoppableLearningAlgorithmisRunning in interface StoppableLearningAlgorithmisRunning in class AbstractCELApublic org.semanticweb.owlapi.model.OWLClassExpression getCurrentlyBestDescription()
getCurrentlyBestDescription in class AbstractCELAAbstractCELA.getCurrentlyBestEvaluatedDescription()public EvaluatedDescription getCurrentlyBestEvaluatedDescription()
AbstractCELAgetCurrentlyBestEvaluatedDescription in class AbstractCELApublic 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