protected abstract static class SAT.Form<P> extends AbstractCollection<SAT.Clause<P>>
Clauses are accessible via the unmodifiable collection interface.
Modifier | Constructor and Description |
---|---|
protected |
Form() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isFalse()
Check whether this formula is unsatisfiable.
|
abstract boolean |
isTrue()
Check whether this formula is tautological.
|
abstract Iterable<SAT.Literal<? extends P>> |
literals()
View literals occurring in this formula.
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public abstract boolean isTrue()
true
if this formula is true under all
interpretations; false
otherwise.public abstract boolean isFalse()
true
if this formula is false under all
interpretations; false
otherwise.public abstract Iterable<SAT.Literal<? extends P>> literals()
see also the complete user documentation .