|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.core.AbstractComponent
org.dllearner.core.AbstractCELA
org.dllearner.algorithms.el.ELLearningAlgorithm
public class ELLearningAlgorithm
A learning algorithm for EL, which will be based on a (hopefully) ideal refinement operator. TODO redundancy check
| Field Summary |
|---|
| Fields inherited from class org.dllearner.core.AbstractCELA |
|---|
MAX_NR_OF_RESULTS |
| Constructor Summary | |
|---|---|
ELLearningAlgorithm(PosNegLP problem,
AbstractReasonerComponent reasoner)
|
|
| Method Summary | |
|---|---|
static Collection<ConfigOption<?>> |
createConfigOptions()
|
ELLearningAlgorithmConfigurator |
getConfigurator()
For each component, a configurator class is generated in package org.dllearner.core.configurators using the script { org.dllearner.scripts.ConfigJavaGenerator}. |
Description |
getCurrentlyBestDescription()
|
List<Description> |
getCurrentlyBestDescriptions()
|
EvaluatedDescription |
getCurrentlyBestEvaluatedDescription()
Returns the best descriptions obtained so far. |
TreeSet<? extends EvaluatedDescription> |
getCurrentlyBestEvaluatedDescriptions()
Returns a sorted set of the best descriptions found so far. |
static String |
getName()
|
SearchTreeNode |
getStartNode()
|
void |
init()
Method to be called after the component has been configured. |
boolean |
isRunning()
Returns whether the learning algorithm is running. |
void |
start()
Starts the algorithm. |
void |
stop()
Stops the algorithm gracefully. |
static Collection<Class<? extends AbstractLearningProblem>> |
supportedLearningProblems()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ELLearningAlgorithm(PosNegLP problem,
AbstractReasonerComponent reasoner)
| Method Detail |
|---|
public static String getName()
public static Collection<Class<? extends AbstractLearningProblem>> supportedLearningProblems()
public ELLearningAlgorithmConfigurator getConfigurator()
AbstractComponent
getConfigurator in class AbstractComponentpublic static Collection<ConfigOption<?>> createConfigOptions()
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
rethrow occuring exception as ComponentInitException and
giving an error message as well as the actualy exception by
using the constructor ComponentInitException.ComponentInitException(String, Throwable).public void start()
LearningAlgorithm
public void stop()
StoppableLearningAlgorithm
public boolean isRunning()
StoppableLearningAlgorithm
public Description getCurrentlyBestDescription()
getCurrentlyBestDescription in class AbstractCELAAbstractCELA.getCurrentlyBestEvaluatedDescription()public List<Description> getCurrentlyBestDescriptions()
getCurrentlyBestDescriptions in class AbstractCELAAbstractCELA.getCurrentlyBestEvaluatedDescriptions()public EvaluatedDescription getCurrentlyBestEvaluatedDescription()
AbstractCELA
getCurrentlyBestEvaluatedDescription in class AbstractCELApublic TreeSet<? extends EvaluatedDescription> getCurrentlyBestEvaluatedDescriptions()
AbstractCELA
getCurrentlyBestEvaluatedDescriptions in class AbstractCELApublic SearchTreeNode getStartNode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||