Constructor and Description |
---|
PowerLiteral() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IntegerVariable> |
getVariables() |
boolean |
isSatisfied()
Returns true when the literal is satisfied.
|
boolean |
isSimple()
Returns true when the literal is simple.
|
boolean |
isUnsatisfiable() |
boolean |
isValid() |
Literal |
neg() |
int |
propagate() |
java.lang.String |
toString() |
public java.util.Set<IntegerVariable> getVariables()
getVariables
in class Literal
public boolean isSimple()
Literal
public boolean isValid() throws SugarException
isValid
in class Literal
SugarException
public boolean isUnsatisfiable() throws SugarException
isUnsatisfiable
in class Literal
SugarException
public boolean isSatisfied()
Literal
isSatisfied
in class Literal
public Literal neg() throws SugarException
neg
in class Literal
SugarException
public java.lang.String toString()
toString
in class java.lang.Object