Package eu.bandm.tools.dpll
Class SAT.Literal<P>
java.lang.Object
eu.bandm.tools.dpll.SAT.Literal<P>
Optionally negated propositional variable.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Literal
-
-
Method Details
-
negate
Return the negation of this literal.This operation is a guaranteed involution:
l.negate().negate() == l
always succeeds.- Returns:
- a literal with opposite sign and identical variable.
-
equals
-
hashCode
public int hashCode() -
toString
-
getSign
public boolean getSign() -
getVariable
-