public class OCEL extends AbstractCELA
MAX_NR_OF_RESULTS
Constructor and Description |
---|
OCEL() |
OCEL(PosNegLP learningProblem,
AbstractReasonerComponent reasoningService) |
OCEL(PosOnlyLP learningProblem,
AbstractReasonerComponent reasoningService) |
changeLearningProblem, changeReasonerComponent, getAllowedConcepts, getAllowedDataProperties, getAllowedObjectProperties, getCurrentlyBestDescriptions, getCurrentlyBestDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestEvaluatedDescriptions, getCurrentlyBestMostGeneralEvaluatedDescriptions, getIgnoredConcepts, getIgnoredDataProperties, getIgnoredObjectProperties, getLearningProblem, getMaxExecutionTimeInSeconds, getReasoner, isRunning, isUseMinimizer, setAllowedConcepts, setAllowedDataProperties, setAllowedObjectProperties, setIgnoredConcepts, setIgnoredDataProperties, setIgnoredObjectProperties, setLearningProblem, setMaxExecutionTime, setMaxExecutionTimeInSeconds, setReasoner, setRenderer, setUseMinimizer, stop, supportedLearningProblems
isInitialized
public OCEL()
public OCEL(PosNegLP learningProblem, AbstractReasonerComponent reasoningService)
public OCEL(PosOnlyLP learningProblem, AbstractReasonerComponent reasoningService)
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 start()
LearningAlgorithm
public org.semanticweb.owlapi.model.OWLClassExpression getBestSolution()
public List<org.semanticweb.owlapi.model.OWLClassExpression> getCurrentlyBestDescriptions()
getCurrentlyBestDescriptions
in class AbstractCELA
AbstractCELA.getCurrentlyBestEvaluatedDescriptions()
public TreeSet<EvaluatedDescriptionPosNeg> getCurrentlyBestEvaluatedDescriptions()
AbstractCELA
getCurrentlyBestEvaluatedDescriptions
in class AbstractCELA
public void printBestSolutions(int nrOfSolutions)
public ScorePosNeg getSolutionScore()
public ExampleBasedNode getStartNode()
public boolean isUseTreeTraversal()
public void setUseTreeTraversal(boolean useTreeTraversal)
public boolean isUseCandidateReduction()
public void setUseCandidateReduction(boolean useCandidateReduction)
public int getCandidatePostReductionSize()
public void setCandidatePostReductionSize(int candidatePostReductionSize)
public boolean isComputeBenchmarkInformation()
public void setComputeBenchmarkInformation(boolean computeBenchmarkInformation)
public org.semanticweb.owlapi.model.OWLClassExpression getCurrentlyBestDescription()
getCurrentlyBestDescription
in class AbstractCELA
AbstractCELA.getCurrentlyBestEvaluatedDescription()
public EvaluatedDescriptionPosNeg getCurrentlyBestEvaluatedDescription()
AbstractCELA
getCurrentlyBestEvaluatedDescription
in class AbstractCELA
public LengthLimitedRefinementOperator getRefinementOperator()
public LengthLimitedRefinementOperator getOperator()
@Autowired(required=false) public void setOperator(LengthLimitedRefinementOperator operator)
public boolean isWriteSearchTree()
public void setWriteSearchTree(boolean writeSearchTree)
public File getSearchTreeFile()
public void setSearchTreeFile(File searchTreeFile)
public boolean isReplaceSearchTree()
public void setReplaceSearchTree(boolean replaceSearchTree)
public boolean isUseTooWeakList()
public void setUseTooWeakList(boolean useTooWeakList)
public boolean isUseOverlyGeneralList()
public void setUseOverlyGeneralList(boolean useOverlyGeneralList)
public boolean isUseShortConceptConstruction()
public void setUseShortConceptConstruction(boolean useShortConceptConstruction)
public boolean isImproveSubsumptionHierarchy()
public void setImproveSubsumptionHierarchy(boolean improveSubsumptionHierarchy)
public double getNoisePercentage()
public void setNoisePercentage(double noisePercentage)
public org.semanticweb.owlapi.model.OWLClassExpression getStartClass()
public void setStartClass(org.semanticweb.owlapi.model.OWLClass startClass)
public boolean isUsePropernessChecks()
public void setUsePropernessChecks(boolean usePropernessChecks)
public boolean isForceRefinementLengthIncrease()
public void setForceRefinementLengthIncrease(boolean forceRefinementLengthIncrease)
public int getMinExecutionTimeInSeconds()
public void setMinExecutionTimeInSeconds(int minExecutionTimeInSeconds)
public int getGuaranteeXgoodDescriptions()
public void setGuaranteeXgoodDescriptions(int guaranteeXgoodDescriptions)
public int getMaxClassDescriptionTests()
public void setMaxClassDescriptionTests(int maxClassDescriptionTests)
public boolean isShowBenchmarkInformation()
public void setShowBenchmarkInformation(boolean showBenchmarkInformation)
public double getNegativeWeight()
public void setNegativeWeight(double negativeWeight)
public double getStartNodeBonus()
public void setStartNodeBonus(double startNodeBonus)
public double getExpansionPenaltyFactor()
public void setExpansionPenaltyFactor(double expansionPenaltyFactor)
public int getNegationPenalty()
public void setNegationPenalty(int negationPenalty)
public boolean isTerminateOnNoiseReached()
public void setTerminateOnNoiseReached(boolean terminateOnNoiseReached)
public OWLClassExpressionLengthMetric getLengthMetric()
@Autowired(required=false) public void setLengthMetric(OWLClassExpressionLengthMetric lengthMetric)
@Autowired(required=false) public void setHeuristic(ExampleBasedHeuristic heuristic)
public ExampleBasedHeuristic getHeuristic()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann