ix.iplan
Class Alternative
java.lang.Object
ix.iplan.Alternative
public abstract class Alternative
- extends java.lang.Object
Alternative -- a backtrack point.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
run |
context
protected Context context
cost
protected double cost
Alternative
public Alternative()
getContext
public Context getContext()
getCost
public double getCost()
setCost
public void setCost(Slip slip)
calcCost
protected double calcCost(Slip slip)
isLocalChoice
public boolean isLocalChoice()
whenPicked
public void whenPicked()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
extraToStringContents
protected java.lang.String extraToStringContents()