- All Superinterfaces:
CIVLStatePredicate,dev.civl.gmc.StatePredicateIF<State>
This represents a predicate in CNF, containing a number of predicates, called
clauses, i.e., p1 & p2 & ...
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddClause(CIVLStatePredicate predicate) Add a predicate as one clause of this And predicate.clauses()Returns all predicates contained by this And predicate.Returns that predicate that has a violation that not yet been reported.Methods inherited from interface dev.civl.mc.predicate.IF.CIVLStatePredicate
getUnreportedViolation, getViolation, isAndPredicateMethods inherited from interface dev.civl.gmc.StatePredicateIF
explanation, holdsAt
-
Method Details
-
addClause
Add a predicate as one clause of this And predicate. -
clauses
Iterable<CIVLStatePredicate> clauses()Returns all predicates contained by this And predicate.- Returns:
-
getUnreportedViolatedPredicate
CIVLStatePredicate getUnreportedViolatedPredicate()Returns that predicate that has a violation that not yet been reported.- Returns:
-