Class AbstractRule
java.lang.Object
fr.lirmm.graphik.integraal.core.AbstractRule
- All Implemented Interfaces:
Rule, Comparable<Rule>
- Direct Known Subclasses:
ConjunctiveQueryRuleAdapter, DefaultRule
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an abstract rule base implementation. -
Method Summary
Methods inherited from interface Rule
getBody, getConstants, getExistentials, getFrontier, getHead, getLabel, getLiterals, getTerms, getTerms, getVariables, setLabel
-
Constructor Details
-
AbstractRule
protected AbstractRule()Creates an abstract rule base implementation.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Rule>
-
toString
-
appendTo
-
equals
-
equals
Compares this rule with another rule using label, body, and head equality.- Parameters:
other- the other rule to compare with- Returns:
- true if both rules describe the same label, body, and head
-
hashCode
-