org.dllearner.core.configurators
Class ROLearnerConfigurator

java.lang.Object
  extended by org.dllearner.core.configurators.RefinementOperatorConfigurator
      extended by org.dllearner.core.configurators.ROLearnerConfigurator
All Implemented Interfaces:
Configurator

public class ROLearnerConfigurator
extends RefinementOperatorConfigurator
implements Configurator

automatically generated, do not edit manually. run org.dllearner.scripts.ConfigJavaGenerator to update


Constructor Summary
ROLearnerConfigurator(ROLearner rOLearner)
           
 
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 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 getMaxExecutionTimeInSeconds()
          maxExecutionTimeInSeconds algorithm will stop after specified seconds.
 int getMinExecutionTimeInSeconds()
          minExecutionTimeInSeconds algorithm will run at least specified seconds.
 boolean getQuiet()
          quiet may be deprecated soon.
 boolean getReplaceSearchTree()
          replaceSearchTree specifies whether to replace the search tree in the log file after each run or append the new search tree.
static ROLearner getROLearner(AbstractLearningProblem learningProblem, AbstractReasonerComponent reasoningService)
           
 String getSearchTreeFile()
          searchTreeFile file to use for the search tree.
 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 getUseExistsConstructor()
          useExistsConstructor specifies whether the existential concept 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 getUseShortConceptConstruction()
          useShortConceptConstruction shorten concept to see whether they already exist.
 boolean getUseTooWeakList()
          useTooWeakList try to filter out too weak concepts without sending them to the reasoner.
 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 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 setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
           
 void setMinExecutionTimeInSeconds(int minExecutionTimeInSeconds)
           
 void setQuiet(boolean quiet)
           
 void setReplaceSearchTree(boolean replaceSearchTree)
           
 void setSearchTreeFile(String searchTreeFile)
           
 void setUseAllConstructor(boolean useAllConstructor)
           
 void setUseBooleanDatatypes(boolean useBooleanDatatypes)
           
 void setUseCardinalityRestrictions(boolean useCardinalityRestrictions)
           
 void setUseExistsConstructor(boolean useExistsConstructor)
           
 void setUseNegation(boolean useNegation)
           
 void setUseOverlyGeneralList(boolean useOverlyGeneralList)
           
 void setUseShortConceptConstruction(boolean useShortConceptConstruction)
           
 void setUseTooWeakList(boolean useTooWeakList)
           
 void setWriteSearchTree(boolean writeSearchTree)
           
 
Methods inherited from class org.dllearner.core.configurators.RefinementOperatorConfigurator
getCardinalityLimit, getUseDataHasValueConstructor, getUseDoubleDatatypes, getUseHasValueConstructor, getUseStringDatatypes, getValueFrequencyThreshold
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROLearnerConfigurator

public ROLearnerConfigurator(ROLearner rOLearner)
Parameters:
rOLearner - see ROLearner
Method Detail

getROLearner

public static ROLearner getROLearner(AbstractLearningProblem learningProblem,
                                     AbstractReasonerComponent reasoningService)
                              throws LearningProblemUnsupportedException
Parameters:
reasoningService - see reasoningService
learningProblem - see learningProblem
Returns:
ROLearner
Throws:
LearningProblemUnsupportedException - see

getWriteSearchTree

public boolean getWriteSearchTree()
writeSearchTree specifies whether to write a search tree. mandatory: false| reinit necessary: true default value: false

Returns:
boolean

getSearchTreeFile

public String getSearchTreeFile()
searchTreeFile file to use for the search tree. mandatory: false| reinit necessary: true default value: log/searchTree.txt

Returns:
String

getReplaceSearchTree

public boolean getReplaceSearchTree()
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: false

Returns:
boolean

getHeuristic

public String getHeuristic()
heuristic specifiy the heuristic to use. mandatory: false| reinit necessary: true default value: lexicographic

Returns:
String

getApplyAllFilter

public boolean getApplyAllFilter()
applyAllFilter usage of equivalence ALL R.C AND ALL R.D = ALL R.(C AND D). mandatory: false| reinit necessary: true default value: true

Returns:
boolean

getApplyExistsFilter

public boolean getApplyExistsFilter()
applyExistsFilter usage of equivalence EXISTS R.C OR EXISTS R.D = EXISTS R.(C OR D). mandatory: false| reinit necessary: true default value: true

Returns:
boolean

getUseTooWeakList

public boolean getUseTooWeakList()
useTooWeakList try to filter out too weak concepts without sending them to the reasoner. mandatory: false| reinit necessary: true default value: true

Returns:
boolean

getUseOverlyGeneralList

public boolean getUseOverlyGeneralList()
useOverlyGeneralList try to find overly general concept without sending them to the reasoner. mandatory: false| reinit necessary: true default value: true

Returns:
boolean

getUseShortConceptConstruction

public boolean getUseShortConceptConstruction()
useShortConceptConstruction shorten concept to see whether they already exist. mandatory: false| reinit necessary: true default value: true

Returns:
boolean

getHorizontalExpansionFactor

public double getHorizontalExpansionFactor()
horizontalExpansionFactor horizontal expansion factor (see publication for description). mandatory: false| reinit necessary: true default value: 0.6

Returns:
double

getImproveSubsumptionHierarchy

public boolean getImproveSubsumptionHierarchy()
improveSubsumptionHierarchy simplify subsumption hierarchy to reduce search space (see publication for description). mandatory: false| reinit necessary: true default value: true

Returns:
boolean

getQuiet

public boolean getQuiet()
quiet may be deprecated soon. mandatory: false| reinit necessary: true default value: false

Returns:
boolean

getAllowedConcepts

public Set<String> getAllowedConcepts()
allowedConcepts concepts the algorithm is allowed to use. mandatory: false| reinit necessary: true default value: null

Returns:
Set(String)

getIgnoredConcepts

public Set<String> getIgnoredConcepts()
ignoredConcepts concepts the algorithm must ignore. mandatory: false| reinit necessary: true default value: null

Returns:
Set(String)

getAllowedRoles

public Set<String> getAllowedRoles()
allowedRoles roles the algorithm is allowed to use. mandatory: false| reinit necessary: true default value: null

Returns:
Set(String)

getIgnoredRoles

public Set<String> getIgnoredRoles()
ignoredRoles roles the algorithm must ignore. mandatory: false| reinit necessary: true default value: null

Returns:
Set(String)

getUseAllConstructor

public boolean getUseAllConstructor()
useAllConstructor specifies whether the universal concept constructor is used in the learning algorithm. mandatory: false| reinit necessary: true default value: true

Specified by:
getUseAllConstructor in class RefinementOperatorConfigurator
Returns:
boolean

getUseExistsConstructor

public boolean getUseExistsConstructor()
useExistsConstructor specifies whether the existential concept constructor is used in the learning algorithm. mandatory: false| reinit necessary: true default value: true

Specified by:
getUseExistsConstructor in class RefinementOperatorConfigurator
Returns:
boolean

getUseNegation

public boolean getUseNegation()
useNegation specifies whether negation is used in the learning algorothm. mandatory: false| reinit necessary: true default value: true

Specified by:
getUseNegation in class RefinementOperatorConfigurator
Returns:
boolean

getUseCardinalityRestrictions

public boolean getUseCardinalityRestrictions()
useCardinalityRestrictions specifies whether CardinalityRestrictions is used in the learning algorithm. mandatory: false| reinit necessary: true default value: true

Specified by:
getUseCardinalityRestrictions in class RefinementOperatorConfigurator
Returns:
boolean

getUseBooleanDatatypes

public boolean getUseBooleanDatatypes()
useBooleanDatatypes specifies whether boolean datatypes are used in the learning algorothm. mandatory: false| reinit necessary: true default value: true

Specified by:
getUseBooleanDatatypes in class RefinementOperatorConfigurator
Returns:
boolean

getMaxExecutionTimeInSeconds

public int getMaxExecutionTimeInSeconds()
maxExecutionTimeInSeconds algorithm will stop after specified seconds. mandatory: false| reinit necessary: true default value: 0

Returns:
int

getMinExecutionTimeInSeconds

public int getMinExecutionTimeInSeconds()
minExecutionTimeInSeconds algorithm will run at least specified seconds. mandatory: false| reinit necessary: true default value: 0

Returns:
int

getGuaranteeXgoodDescriptions

public int getGuaranteeXgoodDescriptions()
guaranteeXgoodDescriptions algorithm will run until X good (100%) concept descritpions are found. mandatory: false| reinit necessary: true default value: 1

Returns:
int

getLogLevel

public String getLogLevel()
logLevel determines the logLevel for this component, can be {TRACE, DEBUG, INFO}. mandatory: false| reinit necessary: true default value: DEBUG

Returns:
String

getInstanceBasedDisjoints

public boolean getInstanceBasedDisjoints()
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: true

Specified by:
getInstanceBasedDisjoints in class RefinementOperatorConfigurator
Returns:
boolean

setWriteSearchTree

public void setWriteSearchTree(boolean writeSearchTree)
Parameters:
writeSearchTree - specifies whether to write a search tree. mandatory: false| reinit necessary: true default value: false

setSearchTreeFile

public void setSearchTreeFile(String searchTreeFile)
Parameters:
searchTreeFile - file to use for the search tree. mandatory: false| reinit necessary: true default value: log/searchTree.txt

setReplaceSearchTree

public void setReplaceSearchTree(boolean replaceSearchTree)
Parameters:
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: false

setHeuristic

public void setHeuristic(String heuristic)
Parameters:
heuristic - specifiy the heuristic to use. mandatory: false| reinit necessary: true default value: lexicographic

setApplyAllFilter

public void setApplyAllFilter(boolean applyAllFilter)
Parameters:
applyAllFilter - usage of equivalence ALL R.C AND ALL R.D = ALL R.(C AND D). mandatory: false| reinit necessary: true default value: true

setApplyExistsFilter

public void setApplyExistsFilter(boolean applyExistsFilter)
Parameters:
applyExistsFilter - usage of equivalence EXISTS R.C OR EXISTS R.D = EXISTS R.(C OR D). mandatory: false| reinit necessary: true default value: true

setUseTooWeakList

public void setUseTooWeakList(boolean useTooWeakList)
Parameters:
useTooWeakList - try to filter out too weak concepts without sending them to the reasoner. mandatory: false| reinit necessary: true default value: true

setUseOverlyGeneralList

public void setUseOverlyGeneralList(boolean useOverlyGeneralList)
Parameters:
useOverlyGeneralList - try to find overly general concept without sending them to the reasoner. mandatory: false| reinit necessary: true default value: true

setUseShortConceptConstruction

public void setUseShortConceptConstruction(boolean useShortConceptConstruction)
Parameters:
useShortConceptConstruction - shorten concept to see whether they already exist. mandatory: false| reinit necessary: true default value: true

setHorizontalExpansionFactor

public void setHorizontalExpansionFactor(double horizontalExpansionFactor)
Parameters:
horizontalExpansionFactor - horizontal expansion factor (see publication for description). mandatory: false| reinit necessary: true default value: 0.6

setImproveSubsumptionHierarchy

public void setImproveSubsumptionHierarchy(boolean improveSubsumptionHierarchy)
Parameters:
improveSubsumptionHierarchy - simplify subsumption hierarchy to reduce search space (see publication for description). mandatory: false| reinit necessary: true default value: true

setQuiet

public void setQuiet(boolean quiet)
Parameters:
quiet - may be deprecated soon. mandatory: false| reinit necessary: true default value: false

setAllowedConcepts

public void setAllowedConcepts(Set<String> allowedConcepts)
Parameters:
allowedConcepts - concepts the algorithm is allowed to use. mandatory: false| reinit necessary: true default value: null

setIgnoredConcepts

public void setIgnoredConcepts(Set<String> ignoredConcepts)
Parameters:
ignoredConcepts - concepts the algorithm must ignore. mandatory: false| reinit necessary: true default value: null

setAllowedRoles

public void setAllowedRoles(Set<String> allowedRoles)
Parameters:
allowedRoles - roles the algorithm is allowed to use. mandatory: false| reinit necessary: true default value: null

setIgnoredRoles

public void setIgnoredRoles(Set<String> ignoredRoles)
Parameters:
ignoredRoles - roles the algorithm must ignore. mandatory: false| reinit necessary: true default value: null

setUseAllConstructor

public void setUseAllConstructor(boolean useAllConstructor)
Parameters:
useAllConstructor - specifies whether the universal concept constructor is used in the learning algorithm. mandatory: false| reinit necessary: true default value: true

setUseExistsConstructor

public void setUseExistsConstructor(boolean useExistsConstructor)
Parameters:
useExistsConstructor - specifies whether the existential concept constructor is used in the learning algorithm. mandatory: false| reinit necessary: true default value: true

setUseNegation

public void setUseNegation(boolean useNegation)
Parameters:
useNegation - specifies whether negation is used in the learning algorothm. mandatory: false| reinit necessary: true default value: true

setUseCardinalityRestrictions

public void setUseCardinalityRestrictions(boolean useCardinalityRestrictions)
Parameters:
useCardinalityRestrictions - specifies whether CardinalityRestrictions is used in the learning algorithm. mandatory: false| reinit necessary: true default value: true

setUseBooleanDatatypes

public void setUseBooleanDatatypes(boolean useBooleanDatatypes)
Parameters:
useBooleanDatatypes - specifies whether boolean datatypes are used in the learning algorothm. mandatory: false| reinit necessary: true default value: true

setMaxExecutionTimeInSeconds

public void setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
Parameters:
maxExecutionTimeInSeconds - algorithm will stop after specified seconds. mandatory: false| reinit necessary: true default value: 0

setMinExecutionTimeInSeconds

public void setMinExecutionTimeInSeconds(int minExecutionTimeInSeconds)
Parameters:
minExecutionTimeInSeconds - algorithm will run at least specified seconds. mandatory: false| reinit necessary: true default value: 0

setGuaranteeXgoodDescriptions

public void setGuaranteeXgoodDescriptions(int guaranteeXgoodDescriptions)
Parameters:
guaranteeXgoodDescriptions - algorithm will run until X good (100%) concept descritpions are found. mandatory: false| reinit necessary: true default value: 1

setLogLevel

public void setLogLevel(String logLevel)
Parameters:
logLevel - determines the logLevel for this component, can be {TRACE, DEBUG, INFO}. mandatory: false| reinit necessary: true default value: DEBUG

setInstanceBasedDisjoints

public void setInstanceBasedDisjoints(boolean instanceBasedDisjoints)
Parameters:
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: true

isReinitNecessary

public boolean isReinitNecessary()
true, if this component needs reinitializsation.

Returns:
boolean


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann