Class RuleSetProperty.Local
java.lang.Object
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Default
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Local
- All Implemented Interfaces:
RuleSetProperty
- Direct Known Subclasses:
DisconnectedProperty, DomainRestrictedProperty, FrontierGuardedProperty, FrontierOneProperty, GuardedProperty, LinearProperty, RangeRestrictedProperty
- Enclosing interface:
RuleSetProperty
Abstract class usefull for implementing 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 TypeMethodDescriptionabstract intEvaluates the property on a single rule.intcheck(AnalyserRuleSet ruleset) Check whether the given rule set satisfies the property or does not.Methods inherited from class RuleSetProperty.Default
getGeneralisations, getSpecialisationsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RuleSetProperty
getDescription, getFullName, getLabel
-
Constructor Details
-
Local
protected Local()Creates a local 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- Overrides:
checkin classRuleSetProperty.Default- 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.
-
check
Evaluates the property on a single rule.- Parameters:
r- the rule to evaluate- Returns:
- the property result for the rule
-