|
|||||||||
| 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.BruteForceLearner
public class BruteForceLearner
A brute force learning algorithm. The algorithm works by generating all concepts starting with the shortest ones.
| Field Summary |
|---|
| Fields inherited from class org.dllearner.core.AbstractCELA |
|---|
MAX_NR_OF_RESULTS |
| Constructor Summary | |
|---|---|
BruteForceLearner(AbstractLearningProblem learningProblem,
AbstractReasonerComponent rs)
|
|
| Method Summary | ||
|---|---|---|
|
applyConfigEntry(ConfigEntry<T> entry)
Applies a configuration option to this component. |
|
static Collection<ConfigOption<?>> |
createConfigOptions()
|
|
BruteForceLearnerConfigurator |
getConfigurator()
For each component, a configurator class is generated in package org.dllearner.core.configurators using the script { org.dllearner.scripts.ConfigJavaGenerator}. |
|
Description |
getCurrentlyBestDescription()
|
|
EvaluatedDescriptionPosNeg |
getCurrentlyBestEvaluatedDescription()
Returns the best descriptions obtained so far. |
|
static String |
getName()
|
|
ScorePosNeg |
getSolutionScore()
|
|
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 BruteForceLearner(AbstractLearningProblem learningProblem,
AbstractReasonerComponent rs)
| Method Detail |
|---|
public BruteForceLearnerConfigurator getConfigurator()
AbstractComponent
getConfigurator in class AbstractComponentpublic static String getName()
public static Collection<Class<? extends AbstractLearningProblem>> supportedLearningProblems()
public static Collection<ConfigOption<?>> createConfigOptions()
public <T> void applyConfigEntry(ConfigEntry<T> entry)
throws InvalidConfigOptionValueException
AbstractComponentComponentManager.
T - Type of the config entry (Integer, String etc.).entry - A configuration entry.
InvalidConfigOptionValueException - This exception is thrown if the
value of the config entry is not valid. For instance, a config option
may only accept values, which are within intervals 0.1 to 0.3 or 0.5 to 0.8.
If the value is outside of those intervals, an exception is thrown. Note
that many of the common cases are already caught in the constructor of
ConfigEntry (for instance for a DoubleConfigOption you can specify
an interval for the value). This means that, as a component developer, you
often do not need to implement further validity checks.AbstractComponent.getConfigurator()public void init()
Component
public void start()
LearningAlgorithm
public ScorePosNeg getSolutionScore()
public Description getCurrentlyBestDescription()
getCurrentlyBestDescription in class AbstractCELAAbstractCELA.getCurrentlyBestEvaluatedDescription()public EvaluatedDescriptionPosNeg getCurrentlyBestEvaluatedDescription()
AbstractCELA
getCurrentlyBestEvaluatedDescription in class AbstractCELApublic void stop()
StoppableLearningAlgorithm
public boolean isRunning()
StoppableLearningAlgorithm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||