Class WeaklyGuardedSetProperty
java.lang.Object
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Default
fr.lirmm.graphik.integraal.rulesetanalyser.property.WeaklyGuardedSetProperty
- All Implemented Interfaces:
RuleSetProperty
At least one atom in the body of each rule contains all affected variables
from the body (
AffectedPositionSet).- Author:
- Clément Sipieter (INRIA) <clement@6pi.fr>, Swan Rocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface RuleSetProperty
RuleSetProperty.Default, RuleSetProperty.Local -
Method Summary
Modifier and TypeMethodDescriptionintcheck(AnalyserRuleSet ruleSet) Check whether the given rule set satisfies the property or does not.Returns a human-readable description of this property.Returns the full human-readable name of this property.Returns the direct generalisations of this property.getLabel()This method must return a label not used by any other rule property or undefined behaviour is to be expected.static WeaklyGuardedSetPropertyinstance()Returns the singleton instance.Methods inherited from class RuleSetProperty.Default
getSpecialisations
-
Method Details
-
instance
Returns the singleton instance.- Returns:
- the singleton property instance
-
getFullName
Description copied from interface:RuleSetPropertyReturns the full human-readable name of this property.- Returns:
- the full property name
-
getDescription
Description copied from interface:RuleSetPropertyReturns a human-readable description of this property.- Returns:
- the property description
-
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.
-
getLabel
Description copied from interface:RuleSetPropertyThis method must return a label not used by any other rule property or undefined behaviour is to be expected.- Returns:
- the short property label
-
getGeneralisations
Description copied from interface:RuleSetPropertyReturns the direct generalisations of this property.- Specified by:
getGeneralisationsin interfaceRuleSetProperty- Overrides:
getGeneralisationsin classRuleSetProperty.Default- Returns:
- the direct generalisations
-