Interface NegativeConstraint
- All Superinterfaces:
Comparable<Rule>, Rule
- All Known Implementing Classes:
DefaultNegativeConstraint
This interface represents a negative constraint. A negative constraint C is a conjunction of atoms
interpreted as the negation of its existential closure ∄X C[X] where X denotes a set of variables.
Equivalently, it can be seen as a rule
of the form C -> ⊥, where ⊥ denotes the absurd symbol (which is always false).
- Author:
- Clément Sipieter (INRIA) <clement@6pi.fr>
-
Method Summary
Modifier and TypeMethodDescriptionvoidAppends this object representation to the provided builder.getBody()Get the body (the hypothesis) of this constraint.getLabel()Get the label (the name) of this constraint.getTerms()Get all terms of this constraint.Deprecated.voidSet the label (the name) for this constraint.Methods inherited from interface Comparable
compareToMethods inherited from interface Rule
getConstants, getExistentials, getFrontier, getHead, getLiterals, getVariables
-
Method Details
-
getLabel
-
setLabel
-
getBody
InMemoryAtomSet getBody()Get the body (the hypothesis) of this constraint. -
getTerms
-
getTerms
-
appendTo
Appends this object representation to the provided builder.- Parameters:
sb- the target builder
-