|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.refinementoperators.RefinementOperatorAdapter
org.dllearner.refinementoperators.fuzzydll.FuzzyRhoDRDown
public class FuzzyRhoDRDown
A downward refinement operator, which makes use of domains
and ranges of properties. The operator is currently under
development. Its aim is to span a much "cleaner" and smaller search
tree compared to RhoDown by omitting many class descriptions,
which are obviously too weak, because they violate
domain/range restrictions. Furthermore, it makes use of disjoint
classes in the knowledge base.
TODO Some of the code has moved to Utility in a modified
form to make it accessible for implementations of other refinement
operators. These utility methods may be completed and carefully
integrated back later.
| Field Summary | |
|---|---|
long |
mComputationTimeNs
|
long |
topComputationTimeNs
|
| Constructor Summary | |
|---|---|
FuzzyRhoDRDown(AbstractReasonerComponent reasoningService)
|
|
FuzzyRhoDRDown(AbstractReasonerComponent reasoner,
ClassHierarchy subHierarchy,
Description startClass,
RefinementOperatorConfigurator configurator)
|
|
FuzzyRhoDRDown(AbstractReasonerComponent reasoningService,
ClassHierarchy subHierarchy,
OCELConfigurator configurator,
boolean applyAllFilter,
boolean applyExistsFilter,
boolean useAllConstructor,
boolean useExistsConstructor,
boolean useHasValueConstructor,
int valueFrequencyThreshold,
boolean useCardinalityRestrictions,
boolean useNegation,
boolean useBooleanDatatypes,
boolean useDoubleDatatypes,
NamedClass startClass)
|
|
| Method Summary | |
|---|---|
static boolean |
checkIntersection(Intersection intersection)
|
SortedSet<Description> |
getClassCandidates(NamedClass index)
|
SortedSet<Description> |
getNegClassCandidates(NamedClass index)
|
void |
init()
|
Set<Description> |
refine(Description concept)
Standard refinement operation. |
Set<Description> |
refine(Description description,
int maxLength)
Optional refinement operation, where the learning algorithm can specify an additional bound on the length of descriptions. |
Set<Description> |
refine(Description description,
int maxLength,
List<Description> knownRefinements)
Optional refinement operation, where the learning algorithm can specify an additional bound on the length of descriptions and a list of known refinements, which do not need to be returned. |
Set<Description> |
refine(Description description,
int maxLength,
List<Description> knownRefinements,
Description currDomain)
|
void |
setDropDisjuncts(boolean dropDisjuncts)
By default, the operator does not specialize e.g. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long mComputationTimeNs
public long topComputationTimeNs
| Constructor Detail |
|---|
public FuzzyRhoDRDown(AbstractReasonerComponent reasoningService)
public FuzzyRhoDRDown(AbstractReasonerComponent reasoner,
ClassHierarchy subHierarchy,
Description startClass,
RefinementOperatorConfigurator configurator)
public FuzzyRhoDRDown(AbstractReasonerComponent reasoningService,
ClassHierarchy subHierarchy,
OCELConfigurator configurator,
boolean applyAllFilter,
boolean applyExistsFilter,
boolean useAllConstructor,
boolean useExistsConstructor,
boolean useHasValueConstructor,
int valueFrequencyThreshold,
boolean useCardinalityRestrictions,
boolean useNegation,
boolean useBooleanDatatypes,
boolean useDoubleDatatypes,
NamedClass startClass)
| Method Detail |
|---|
public void init()
public Set<Description> refine(Description concept)
RefinementOperator
refine in interface RefinementOperatorrefine in class RefinementOperatorAdapterconcept - The description, which will be refined.
public Set<Description> refine(Description description,
int maxLength)
RefinementOperator
refine in interface RefinementOperatorrefine in class RefinementOperatorAdapterdescription - The description, which will be refined.maxLength - The maximum length of returned description, where length is defined by KBElement.getLength().
public Set<Description> refine(Description description,
int maxLength,
List<Description> knownRefinements)
RefinementOperator
refine in interface RefinementOperatorrefine in class RefinementOperatorAdapterdescription - The description, which will be refined.maxLength - The maximum length of returned description, where length is defined by KBElement.getLength().knownRefinements - A collection of known refinements, which do not need to be returned.
public Set<Description> refine(Description description,
int maxLength,
List<Description> knownRefinements,
Description currDomain)
public static boolean checkIntersection(Intersection intersection)
public void setDropDisjuncts(boolean dropDisjuncts)
dropDisjuncts - Whether to remove disjuncts in refinement process.public SortedSet<Description> getClassCandidates(NamedClass index)
public SortedSet<Description> getNegClassCandidates(NamedClass index)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||