|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.core.configurators.RefinementOperatorConfigurator
org.dllearner.core.configurators.OCELConfigurator
public class OCELConfigurator
automatically generated, do not edit manually. run org.dllearner.scripts.ConfigJavaGenerator to update
| Constructor Summary | |
|---|---|
OCELConfigurator(OCEL oCEL)
|
|
| Method Summary | |
|---|---|
Set<String> |
getAllowedConcepts()
allowedConcepts concepts the algorithm is allowed to use. |
Set<String> |
getAllowedRoles()
allowedRoles roles the algorithm is allowed to use. |
boolean |
getApplyAllFilter()
applyAllFilter usage of equivalence ALL R.C AND ALL R.D = ALL R. |
boolean |
getApplyExistsFilter()
applyExistsFilter usage of equivalence EXISTS R.C OR EXISTS R.D = EXISTS R. |
int |
getCardinalityLimit()
cardinalityLimit Gives the maximum number used in cardinality restrictions.. |
double |
getExpansionPenaltyFactor()
expansionPenaltyFactor describes the reduction in heuristic score one is willing to accept for reducing the length of the concept by one. |
boolean |
getForceRefinementLengthIncrease()
forceRefinementLengthIncrease specifies whether nodes should be expanded until only longer refinements are reached. |
int |
getGuaranteeXgoodDescriptions()
guaranteeXgoodDescriptions algorithm will run until X good (100%) concept descritpions are found. |
String |
getHeuristic()
heuristic specifiy the heuristic to use. |
double |
getHorizontalExpansionFactor()
horizontalExpansionFactor horizontal expansion factor (see publication for description). |
Set<String> |
getIgnoredConcepts()
ignoredConcepts concepts the algorithm must ignore. |
Set<String> |
getIgnoredRoles()
ignoredRoles roles the algorithm must ignore. |
boolean |
getImproveSubsumptionHierarchy()
improveSubsumptionHierarchy simplify subsumption hierarchy to reduce search space (see publication for description). |
boolean |
getInstanceBasedDisjoints()
instanceBasedDisjoints Specifies whether to use real disjointness checks or instance based ones (no common instances) in the refinement operator.. |
String |
getLogLevel()
logLevel determines the logLevel for this component, can be {TRACE, DEBUG, INFO}. |
int |
getMaxClassDescriptionTests()
maxClassDescriptionTests The maximum number of candidate hypothesis the algorithm is allowed to test (0 = no limit). |
int |
getMaxExecutionTimeInSeconds()
maxExecutionTimeInSeconds algorithm will stop after specified seconds. |
int |
getMinExecutionTimeInSeconds()
minExecutionTimeInSeconds algorithm will run at least specified seconds. |
int |
getNegationPenalty()
negationPenalty Penalty on negations (TODO: better explanation).. |
double |
getNegativeWeight()
negativeWeight Used to penalise errors on negative examples different from those of positive examples (lower = less importance for negatives).. |
double |
getNoisePercentage()
noisePercentage the (approximated) percentage of noise within the examples. |
static OCEL |
getOCEL(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
|
boolean |
getReplaceSearchTree()
replaceSearchTree specifies whether to replace the search tree in the log file after each run or append the new search tree. |
String |
getSearchTreeFile()
searchTreeFile file to use for the search tree. |
String |
getStartClass()
startClass the named class which should be used to start the algorithm (GUI: needs a widget for selecting a class). |
double |
getStartNodeBonus()
startNodeBonus You can use this to give a heuristic bonus on the start node (= initially broader exploration of search space).. |
boolean |
getTerminateOnNoiseReached()
terminateOnNoiseReached specifies whether to terminate when noise criterion is met. |
boolean |
getUseAllConstructor()
useAllConstructor specifies whether the universal concept constructor is used in the learning algorithm. |
boolean |
getUseBooleanDatatypes()
useBooleanDatatypes specifies whether boolean datatypes are used in the learning algorothm. |
boolean |
getUseCardinalityRestrictions()
useCardinalityRestrictions specifies whether CardinalityRestrictions is used in the learning algorithm. |
boolean |
getUseDataHasValueConstructor()
useDataHasValueConstructor specifies whether the hasValue constructor is used in the learning algorithm in combination with data properties. |
boolean |
getUseDoubleDatatypes()
useDoubleDatatypes specifies whether double datatypes are used in the learning algorothm. |
boolean |
getUseExistsConstructor()
useExistsConstructor specifies whether the existential concept constructor is used in the learning algorithm. |
boolean |
getUseHasValueConstructor()
useHasValueConstructor specifies whether the hasValue constructor is used in the learning algorithm. |
boolean |
getUseNegation()
useNegation specifies whether negation is used in the learning algorothm. |
boolean |
getUseOverlyGeneralList()
useOverlyGeneralList try to find overly general concept without sending them to the reasoner. |
boolean |
getUsePropernessChecks()
usePropernessChecks specifies whether to check for equivalence (i.e. discard equivalent refinements). |
boolean |
getUseShortConceptConstruction()
useShortConceptConstruction shorten concept to see whether they already exist. |
boolean |
getUseStringDatatypes()
useStringDatatypes specifies whether string datatypes are used in the learning algorothm. |
boolean |
getUseTooWeakList()
useTooWeakList try to filter out too weak concepts without sending them to the reasoner. |
int |
getValueFrequencyThreshold()
valueFrequencyThreshold specifies how often an object must occur as value in order to be considered for hasValue restrictions. |
boolean |
getWriteSearchTree()
writeSearchTree specifies whether to write a search tree. |
boolean |
isReinitNecessary()
true, if this component needs reinitializsation. |
void |
setAllowedConcepts(Set<String> allowedConcepts)
|
void |
setAllowedRoles(Set<String> allowedRoles)
|
void |
setApplyAllFilter(boolean applyAllFilter)
|
void |
setApplyExistsFilter(boolean applyExistsFilter)
|
void |
setCardinalityLimit(int cardinalityLimit)
|
void |
setExpansionPenaltyFactor(double expansionPenaltyFactor)
|
void |
setForceRefinementLengthIncrease(boolean forceRefinementLengthIncrease)
|
void |
setGuaranteeXgoodDescriptions(int guaranteeXgoodDescriptions)
|
void |
setHeuristic(String heuristic)
|
void |
setHorizontalExpansionFactor(double horizontalExpansionFactor)
|
void |
setIgnoredConcepts(Set<String> ignoredConcepts)
|
void |
setIgnoredRoles(Set<String> ignoredRoles)
|
void |
setImproveSubsumptionHierarchy(boolean improveSubsumptionHierarchy)
|
void |
setInstanceBasedDisjoints(boolean instanceBasedDisjoints)
|
void |
setLogLevel(String logLevel)
|
void |
setMaxClassDescriptionTests(int maxClassDescriptionTests)
|
void |
setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
|
void |
setMinExecutionTimeInSeconds(int minExecutionTimeInSeconds)
|
void |
setNegationPenalty(int negationPenalty)
|
void |
setNegativeWeight(double negativeWeight)
|
void |
setNoisePercentage(double noisePercentage)
|
void |
setReplaceSearchTree(boolean replaceSearchTree)
|
void |
setSearchTreeFile(String searchTreeFile)
|
void |
setStartClass(String startClass)
|
void |
setStartNodeBonus(double startNodeBonus)
|
void |
setTerminateOnNoiseReached(boolean terminateOnNoiseReached)
|
void |
setUseAllConstructor(boolean useAllConstructor)
|
void |
setUseBooleanDatatypes(boolean useBooleanDatatypes)
|
void |
setUseCardinalityRestrictions(boolean useCardinalityRestrictions)
|
void |
setUseDataHasValueConstructor(boolean useDataHasValueConstructor)
|
void |
setUseDoubleDatatypes(boolean useDoubleDatatypes)
|
void |
setUseExistsConstructor(boolean useExistsConstructor)
|
void |
setUseHasValueConstructor(boolean useHasValueConstructor)
|
void |
setUseNegation(boolean useNegation)
|
void |
setUseOverlyGeneralList(boolean useOverlyGeneralList)
|
void |
setUsePropernessChecks(boolean usePropernessChecks)
|
void |
setUseShortConceptConstruction(boolean useShortConceptConstruction)
|
void |
setUseStringDatatypes(boolean useStringDatatypes)
|
void |
setUseTooWeakList(boolean useTooWeakList)
|
void |
setValueFrequencyThreshold(int valueFrequencyThreshold)
|
void |
setWriteSearchTree(boolean writeSearchTree)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OCELConfigurator(OCEL oCEL)
oCEL - see OCEL| Method Detail |
|---|
public static OCEL getOCEL(AbstractLearningProblem learningProblem,
AbstractReasonerComponent reasoningService)
throws LearningProblemUnsupportedException
reasoningService - see reasoningServicelearningProblem - see learningProblem
LearningProblemUnsupportedException - seepublic boolean getWriteSearchTree()
public String getSearchTreeFile()
public boolean getReplaceSearchTree()
public String getHeuristic()
public boolean getApplyAllFilter()
public boolean getApplyExistsFilter()
public boolean getUseTooWeakList()
public boolean getUseOverlyGeneralList()
public boolean getUseShortConceptConstruction()
public double getHorizontalExpansionFactor()
public boolean getImproveSubsumptionHierarchy()
public Set<String> getAllowedConcepts()
public Set<String> getIgnoredConcepts()
public Set<String> getAllowedRoles()
public Set<String> getIgnoredRoles()
public boolean getUseAllConstructor()
getUseAllConstructor in class RefinementOperatorConfiguratorpublic boolean getUseExistsConstructor()
getUseExistsConstructor in class RefinementOperatorConfiguratorpublic boolean getUseHasValueConstructor()
getUseHasValueConstructor in class RefinementOperatorConfiguratorpublic boolean getUseDataHasValueConstructor()
getUseDataHasValueConstructor in class RefinementOperatorConfiguratorpublic int getValueFrequencyThreshold()
getValueFrequencyThreshold in class RefinementOperatorConfiguratorpublic boolean getUseCardinalityRestrictions()
getUseCardinalityRestrictions in class RefinementOperatorConfiguratorpublic int getCardinalityLimit()
getCardinalityLimit in class RefinementOperatorConfiguratorpublic boolean getUseNegation()
getUseNegation in class RefinementOperatorConfiguratorpublic boolean getUseBooleanDatatypes()
getUseBooleanDatatypes in class RefinementOperatorConfiguratorpublic boolean getUseDoubleDatatypes()
getUseDoubleDatatypes in class RefinementOperatorConfiguratorpublic boolean getUseStringDatatypes()
getUseStringDatatypes in class RefinementOperatorConfiguratorpublic int getMaxExecutionTimeInSeconds()
public int getMinExecutionTimeInSeconds()
public int getGuaranteeXgoodDescriptions()
public int getMaxClassDescriptionTests()
public String getLogLevel()
public boolean getUsePropernessChecks()
public double getNoisePercentage()
public boolean getTerminateOnNoiseReached()
public String getStartClass()
public boolean getForceRefinementLengthIncrease()
public double getNegativeWeight()
public double getStartNodeBonus()
public int getNegationPenalty()
public double getExpansionPenaltyFactor()
public boolean getInstanceBasedDisjoints()
getInstanceBasedDisjoints in class RefinementOperatorConfiguratorpublic void setWriteSearchTree(boolean writeSearchTree)
writeSearchTree - specifies whether to write a search tree.
mandatory: false| reinit necessary: true
default value: falsepublic void setSearchTreeFile(String searchTreeFile)
searchTreeFile - file to use for the search tree.
mandatory: false| reinit necessary: true
default value: log/searchTree.txtpublic void setReplaceSearchTree(boolean replaceSearchTree)
replaceSearchTree - specifies whether to replace the search tree in the log file after each run or append the new search tree.
mandatory: false| reinit necessary: true
default value: falsepublic void setHeuristic(String heuristic)
heuristic - specifiy the heuristic to use.
mandatory: false| reinit necessary: true
default value: lexicographicpublic void setApplyAllFilter(boolean applyAllFilter)
applyAllFilter - usage of equivalence ALL R.C AND ALL R.D = ALL R.(C AND D).
mandatory: false| reinit necessary: true
default value: truepublic void setApplyExistsFilter(boolean applyExistsFilter)
applyExistsFilter - usage of equivalence EXISTS R.C OR EXISTS R.D = EXISTS R.(C OR D).
mandatory: false| reinit necessary: true
default value: truepublic void setUseTooWeakList(boolean useTooWeakList)
useTooWeakList - try to filter out too weak concepts without sending them to the reasoner.
mandatory: false| reinit necessary: true
default value: truepublic void setUseOverlyGeneralList(boolean useOverlyGeneralList)
useOverlyGeneralList - try to find overly general concept without sending them to the reasoner.
mandatory: false| reinit necessary: true
default value: truepublic void setUseShortConceptConstruction(boolean useShortConceptConstruction)
useShortConceptConstruction - shorten concept to see whether they already exist.
mandatory: false| reinit necessary: true
default value: truepublic void setHorizontalExpansionFactor(double horizontalExpansionFactor)
horizontalExpansionFactor - horizontal expansion factor (see publication for description).
mandatory: false| reinit necessary: true
default value: 0.6public void setImproveSubsumptionHierarchy(boolean improveSubsumptionHierarchy)
improveSubsumptionHierarchy - simplify subsumption hierarchy to reduce search space (see publication for description).
mandatory: false| reinit necessary: true
default value: truepublic void setAllowedConcepts(Set<String> allowedConcepts)
allowedConcepts - concepts the algorithm is allowed to use.
mandatory: false| reinit necessary: true
default value: nullpublic void setIgnoredConcepts(Set<String> ignoredConcepts)
ignoredConcepts - concepts the algorithm must ignore.
mandatory: false| reinit necessary: true
default value: nullpublic void setAllowedRoles(Set<String> allowedRoles)
allowedRoles - roles the algorithm is allowed to use.
mandatory: false| reinit necessary: true
default value: nullpublic void setIgnoredRoles(Set<String> ignoredRoles)
ignoredRoles - roles the algorithm must ignore.
mandatory: false| reinit necessary: true
default value: nullpublic void setUseAllConstructor(boolean useAllConstructor)
useAllConstructor - specifies whether the universal concept constructor is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseExistsConstructor(boolean useExistsConstructor)
useExistsConstructor - specifies whether the existential concept constructor is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseHasValueConstructor(boolean useHasValueConstructor)
useHasValueConstructor - specifies whether the hasValue constructor is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: falsepublic void setUseDataHasValueConstructor(boolean useDataHasValueConstructor)
useDataHasValueConstructor - specifies whether the hasValue constructor is used in the learning algorithm in combination with data properties.
mandatory: false| reinit necessary: true
default value: falsepublic void setValueFrequencyThreshold(int valueFrequencyThreshold)
valueFrequencyThreshold - specifies how often an object must occur as value in order to be considered for hasValue restrictions.
mandatory: false| reinit necessary: true
default value: 3public void setUseCardinalityRestrictions(boolean useCardinalityRestrictions)
useCardinalityRestrictions - specifies whether CardinalityRestrictions is used in the learning algorithm.
mandatory: false| reinit necessary: true
default value: truepublic void setCardinalityLimit(int cardinalityLimit)
cardinalityLimit - Gives the maximum number used in cardinality restrictions..
mandatory: false| reinit necessary: true
default value: 5public void setUseNegation(boolean useNegation)
useNegation - specifies whether negation is used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseBooleanDatatypes(boolean useBooleanDatatypes)
useBooleanDatatypes - specifies whether boolean datatypes are used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseDoubleDatatypes(boolean useDoubleDatatypes)
useDoubleDatatypes - specifies whether double datatypes are used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: truepublic void setUseStringDatatypes(boolean useStringDatatypes)
useStringDatatypes - specifies whether string datatypes are used in the learning algorothm.
mandatory: false| reinit necessary: true
default value: falsepublic void setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
maxExecutionTimeInSeconds - algorithm will stop after specified seconds.
mandatory: false| reinit necessary: true
default value: 0public void setMinExecutionTimeInSeconds(int minExecutionTimeInSeconds)
minExecutionTimeInSeconds - algorithm will run at least specified seconds.
mandatory: false| reinit necessary: true
default value: 0public void setGuaranteeXgoodDescriptions(int guaranteeXgoodDescriptions)
guaranteeXgoodDescriptions - algorithm will run until X good (100%) concept descritpions are found.
mandatory: false| reinit necessary: true
default value: 1public void setMaxClassDescriptionTests(int maxClassDescriptionTests)
maxClassDescriptionTests - The maximum number of candidate hypothesis the algorithm is allowed to test (0 = no limit). The algorithm will stop afterwards. (The real number of tests can be slightly higher, because this criterion usually won't be checked after each single test.).
mandatory: false| reinit necessary: true
default value: 0public void setLogLevel(String logLevel)
logLevel - determines the logLevel for this component, can be {TRACE, DEBUG, INFO}.
mandatory: false| reinit necessary: true
default value: DEBUGpublic void setUsePropernessChecks(boolean usePropernessChecks)
usePropernessChecks - specifies whether to check for equivalence (i.e. discard equivalent refinements).
mandatory: false| reinit necessary: true
default value: falsepublic void setNoisePercentage(double noisePercentage)
noisePercentage - the (approximated) percentage of noise within the examples.
mandatory: false| reinit necessary: true
default value: 0.0public void setTerminateOnNoiseReached(boolean terminateOnNoiseReached)
terminateOnNoiseReached - specifies whether to terminate when noise criterion is met.
mandatory: false| reinit necessary: true
default value: truepublic void setStartClass(String startClass)
startClass - the named class which should be used to start the algorithm (GUI: needs a widget for selecting a class).
mandatory: false| reinit necessary: true
default value: nullpublic void setForceRefinementLengthIncrease(boolean forceRefinementLengthIncrease)
forceRefinementLengthIncrease - specifies whether nodes should be expanded until only longer refinements are reached.
mandatory: false| reinit necessary: true
default value: nullpublic void setNegativeWeight(double negativeWeight)
negativeWeight - Used to penalise errors on negative examples different from those of positive examples (lower = less importance for negatives)..
mandatory: false| reinit necessary: true
default value: 1.0public void setStartNodeBonus(double startNodeBonus)
startNodeBonus - You can use this to give a heuristic bonus on the start node (= initially broader exploration of search space)..
mandatory: false| reinit necessary: true
default value: 0.0public void setNegationPenalty(int negationPenalty)
negationPenalty - Penalty on negations (TODO: better explanation)..
mandatory: false| reinit necessary: true
default value: 0public void setExpansionPenaltyFactor(double expansionPenaltyFactor)
expansionPenaltyFactor - describes the reduction in heuristic score one is willing to accept for reducing the length of the concept by one.
mandatory: false| reinit necessary: true
default value: 0.02public void setInstanceBasedDisjoints(boolean instanceBasedDisjoints)
instanceBasedDisjoints - Specifies whether to use real disjointness checks or instance based ones (no common instances) in the refinement operator..
mandatory: false| reinit necessary: true
default value: truepublic boolean isReinitNecessary()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||