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, setGraphNodeIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetGraphNodeId, setGraphNodeIdpublic static int nextHash()
AbstractVariables,
in which case incrementing hash codes is OK.
public int getOrderNumber()
IVariablegetOrderNumber in interface IVariable<T extends AbstractVariable>public void setOrderNumber(int orderNumber)
IVariablesetOrderNumber in interface IVariable<T extends AbstractVariable>