Constructor and Description |
---|
LabelLiteral(int label) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getLabel() |
int |
hashCode() |
boolean |
isSatisfied()
Returns true when the literal is satisfied.
|
boolean |
isSimple()
Returns true when the literal is simple.
|
boolean |
isUnsatisfiable() |
boolean |
isValid() |
int |
propagate() |
String |
toString() |
getBound, getCode, getVariables
public int getLabel()
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