public abstract class AbstractVariable<T extends AbstractVariable> extends NodeWithNumber implements IVariable<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractVariable() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getOrderNumber()
Variables must allow the solver implementation to get/set an order number,
which the solver uses to control evaluation order.
|
int |
hashCode() |
static int |
nextHash()
I know this is theoretically bad.
|
void |
setOrderNumber(int orderNumber)
Variables must allow the solver implementation to get/set an order number,
which the solver uses to control evaluation order.
|
getGraphNodeId, setGraphNodeId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getGraphNodeId, setGraphNodeId
public static int nextHash()
AbstractVariable
s,
in which case incrementing hash codes is OK.
public int getOrderNumber()
IVariable
getOrderNumber
in interface IVariable<T extends AbstractVariable>
public void setOrderNumber(int orderNumber)
IVariable
setOrderNumber
in interface IVariable<T extends AbstractVariable>