public class PCELOE extends AbstractCELA
MAX_NR_OF_RESULTS| Constructor and Description |
|---|
PCELOE() |
PCELOE(AbstractClassExpressionLearningProblem problem,
AbstractReasonerComponent reasoner) |
PCELOE(PCELOE celoe) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
getClassExpressionTests() |
double |
getCurrentlyBestAccuracy() |
org.semanticweb.owlapi.model.OWLClassExpression |
getCurrentlyBestDescription() |
List<org.semanticweb.owlapi.model.OWLClassExpression> |
getCurrentlyBestDescriptions() |
EvaluatedDescription |
getCurrentlyBestEvaluatedDescription()
Returns the best descriptions obtained so far.
|
NavigableSet<? extends EvaluatedDescription<? extends Score>> |
getCurrentlyBestEvaluatedDescriptions()
Returns a sorted set of the best descriptions found so far.
|
AbstractHeuristic |
getHeuristic() |
int |
getMaxClassDescriptionTests()
Deprecated.
|
int |
getMaxClassExpressionTests() |
int |
getMaxClassExpressionTestsAfterImprovement() |
int |
getMaxClassExpressionTestsWithoutImprovement()
Deprecated.
|
double |
getMaxDepth() |
int |
getMaxExecutionTimeInSecondsAfterImprovement() |
int |
getMaximumHorizontalExpansion() |
int |
getMaxNrOfResults() |
int |
getMinimumHorizontalExpansion() |
double |
getNoisePercentage() |
int |
getNrOfThreads() |
LengthLimitedRefinementOperator |
getOperator() |
String |
getSearchTreeFile() |
org.semanticweb.owlapi.model.OWLClassExpression |
getStartClass() |
long |
getTotalRuntimeNs() |
void |
init()
Method to be called after the component has been configured.
|
boolean |
isExpandAccuracy100Nodes() |
boolean |
isFilterDescriptionsFollowingFromKB() |
boolean |
isReplaceSearchTree() |
boolean |
isReuseExistingDescription() |
boolean |
isRunning()
Returns whether the learning algorithm is running.
|
boolean |
isSingleSuggestionMode() |
boolean |
isStopOnFirstDefinition() |
boolean |
isTerminateOnNoiseReached() |
boolean |
isWriteSearchTree() |
static void |
main(String[] args) |
void |
setExpandAccuracy100Nodes(boolean expandAccuracy100Nodes) |
void |
setFilterDescriptionsFollowingFromKB(boolean filterDescriptionsFollowingFromKB) |
void |
setHeuristic(AbstractHeuristic heuristic) |
void |
setMaxClassDescriptionTests(int maxClassDescriptionTests)
Deprecated.
|
void |
setMaxClassExpressionTests(int maxClassExpressionTests) |
void |
setMaxClassExpressionTestsAfterImprovement(int maxClassExpressionTestsAfterImprovement) |
void |
setMaxClassExpressionTestsWithoutImprovement(int maxClassExpressionTestsWithoutImprovement)
Deprecated.
|
void |
setMaxDepth(double maxDepth) |
void |
setMaxExecutionTimeInSecondsAfterImprovement(int maxExecutionTimeInSecondsAfterImprovement) |
void |
setMaxNrOfResults(int maxNrOfResults) |
void |
setNoisePercentage(double noisePercentage) |
void |
setNrOfThreads(int nrOfThreads) |
void |
setOperator(LengthLimitedRefinementOperator operator) |
void |
setReplaceSearchTree(boolean replaceSearchTree) |
void |
setReuseExistingDescription(boolean reuseExistingDescription) |
void |
setSearchTreeFile(String searchTreeFile) |
void |
setSingleSuggestionMode(boolean singleSuggestionMode) |
void |
setStartClass(org.semanticweb.owlapi.model.OWLClassExpression startClass) |
void |
setStopOnFirstDefinition(boolean stopOnFirstDefinition) |
void |
setTerminateOnNoiseReached(boolean terminateOnNoiseReached) |
void |
setWriteSearchTree(boolean writeSearchTree) |
void |
start()
Starts the algorithm.
|
void |
stop()
Stops the algorithm gracefully.
|
changeLearningProblem, changeReasonerComponent, getAllowedConcepts, getAllowedDataProperties, getAllowedObjectProperties, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestMostGeneralEvaluatedDescriptions, getIgnoredConcepts, getIgnoredDataProperties, getIgnoredObjectProperties, getLearningProblem, getMaxExecutionTimeInSeconds, getReasoner, isUseMinimizer, setAllowedConcepts, setAllowedDataProperties, setAllowedObjectProperties, setIgnoredConcepts, setIgnoredDataProperties, setIgnoredObjectProperties, setLearningProblem, setMaxExecutionTime, setMaxExecutionTimeInSeconds, setReasoner, setRenderer, setUseMinimizer, supportedLearningProblemsisInitializedpublic PCELOE()
public PCELOE(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 org.semanticweb.owlapi.model.OWLClassExpression getCurrentlyBestDescription()
getCurrentlyBestDescription in class AbstractCELAAbstractCELA.getCurrentlyBestEvaluatedDescription()public List<org.semanticweb.owlapi.model.OWLClassExpression> getCurrentlyBestDescriptions()
getCurrentlyBestDescriptions in class AbstractCELAAbstractCELA.getCurrentlyBestEvaluatedDescriptions()public EvaluatedDescription getCurrentlyBestEvaluatedDescription()
AbstractCELAgetCurrentlyBestEvaluatedDescription in class AbstractCELApublic NavigableSet<? extends EvaluatedDescription<? extends Score>> getCurrentlyBestEvaluatedDescriptions()
AbstractCELAgetCurrentlyBestEvaluatedDescriptions in class AbstractCELApublic double getCurrentlyBestAccuracy()
public boolean isRunning()
StoppableLearningAlgorithmisRunning in interface StoppableLearningAlgorithmisRunning in class AbstractCELApublic void stop()
StoppableLearningAlgorithmstop in interface StoppableLearningAlgorithmstop in class AbstractCELApublic int getMaximumHorizontalExpansion()
public int getMinimumHorizontalExpansion()
public int getClassExpressionTests()
public LengthLimitedRefinementOperator getOperator()
@Autowired(required=false) public void setOperator(LengthLimitedRefinementOperator operator)
public org.semanticweb.owlapi.model.OWLClassExpression getStartClass()
public void setStartClass(org.semanticweb.owlapi.model.OWLClassExpression startClass)
public boolean isWriteSearchTree()
public void setWriteSearchTree(boolean writeSearchTree)
public String getSearchTreeFile()
public void setSearchTreeFile(String searchTreeFile)
public int getMaxNrOfResults()
public void setMaxNrOfResults(int maxNrOfResults)
public double getNoisePercentage()
public void setNoisePercentage(double noisePercentage)
public boolean isFilterDescriptionsFollowingFromKB()
public void setFilterDescriptionsFollowingFromKB(boolean filterDescriptionsFollowingFromKB)
public boolean isReplaceSearchTree()
public void setReplaceSearchTree(boolean replaceSearchTree)
@Deprecated public int getMaxClassDescriptionTests()
@Deprecated public void setMaxClassDescriptionTests(int maxClassDescriptionTests)
public boolean isTerminateOnNoiseReached()
public void setTerminateOnNoiseReached(boolean terminateOnNoiseReached)
public boolean isReuseExistingDescription()
public void setReuseExistingDescription(boolean reuseExistingDescription)
public AbstractHeuristic getHeuristic()
@Autowired(required=false) public void setHeuristic(AbstractHeuristic heuristic)
@Deprecated public int getMaxClassExpressionTestsWithoutImprovement()
@Deprecated public void setMaxClassExpressionTestsWithoutImprovement(int maxClassExpressionTestsWithoutImprovement)
public int getMaxExecutionTimeInSecondsAfterImprovement()
public void setMaxExecutionTimeInSecondsAfterImprovement(int maxExecutionTimeInSecondsAfterImprovement)
public boolean isSingleSuggestionMode()
public void setSingleSuggestionMode(boolean singleSuggestionMode)
public int getMaxClassExpressionTests()
public void setMaxClassExpressionTests(int maxClassExpressionTests)
public int getMaxClassExpressionTestsAfterImprovement()
public void setMaxClassExpressionTestsAfterImprovement(int maxClassExpressionTestsAfterImprovement)
public double getMaxDepth()
public void setMaxDepth(double maxDepth)
public boolean isStopOnFirstDefinition()
public void setStopOnFirstDefinition(boolean stopOnFirstDefinition)
public long getTotalRuntimeNs()
public boolean isExpandAccuracy100Nodes()
public void setExpandAccuracy100Nodes(boolean expandAccuracy100Nodes)
expandAccuracy100Nodes - the expandAccuracy100Nodes to setpublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic int getNrOfThreads()
public void setNrOfThreads(int nrOfThreads)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann