Class RuleSetProperty.Default
java.lang.Object
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Default
- All Implemented Interfaces:
RuleSetProperty
- Direct Known Subclasses:
AGRDProperty, BTSProperty, FESProperty, FUSProperty, GBTSProperty, JointlyFrontierGuardedSetProperty, MFAProperty, MSAProperty, RuleSetProperty.Local, StickyProperty, WeaklyAcyclicProperty, WeaklyFrontierGuardedSetProperty, WeaklyGuardedSetProperty, WeaklyStickyProperty
- Enclosing interface:
RuleSetProperty
Convenience base implementation for non-local rule-set properties.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RuleSetProperty
RuleSetProperty.Default, RuleSetProperty.Local -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcheck(AnalyserRuleSet ruleset) Check whether the given rule set satisfies the property or does not.Returns the direct generalisations of this property.Returns the direct specialisations of this property.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RuleSetProperty
getDescription, getFullName, getLabel
-
Constructor Details
-
Default
protected Default()Creates a default property implementation.
-
-
Method Details
-
check
Description copied from interface:RuleSetPropertyCheck whether the given rule set satisfies the property or does not.- Specified by:
checkin interfaceRuleSetProperty- Parameters:
ruleset- the rule set to evaluate- Returns:
- A negative value if the ruleset does not satisfy the property, a positive value if it does, and 0 if unknown.
-
getSpecialisations
Description copied from interface:RuleSetPropertyReturns the direct specialisations of this property.- Specified by:
getSpecialisationsin interfaceRuleSetProperty- Returns:
- the direct specialisations
-
getGeneralisations
Description copied from interface:RuleSetPropertyReturns the direct generalisations of this property.- Specified by:
getGeneralisationsin interfaceRuleSetProperty- Returns:
- the direct generalisations
-