Class MSAProperty
java.lang.Object
fr.lirmm.graphik.integraal.rulesetanalyser.property.RuleSetProperty.Default
fr.lirmm.graphik.integraal.rulesetanalyser.property.MSAProperty
- All Implemented Interfaces:
RuleSetProperty
Model-summarizing acyclicity property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RuleSetProperty
RuleSetProperty.Default, RuleSetProperty.Local -
Method Summary
Modifier and TypeMethodDescriptionstatic SubstitutionBuilds the substitution used by the MSA encoding.intcheck(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 MSAPropertyinstance()Returns the singleton instance.Translates one rule into the rules used by the MSA encoding.static RuleSettranslateToMSA(Iterable<Rule> rules) Translates a rule set into its MSA encoding.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
-
translateToMSA
-
translateRuleToMSA
-
buildMSASubstitution
Builds the substitution used by the MSA encoding.- Parameters:
r- the rule whose existentials must be replaced- Returns:
- the corresponding substitution
-