ix.iplan
Class Alternative
java.lang.Object
ix.iplan.Alternative
- All Implemented Interfaces:
- Slip.Step, java.lang.Runnable
- Direct Known Subclasses:
- SlipExpandNode.Resume, SlipFindExecutable.ExpandGoalAlt, SlipFindExecutable.ExpandLaterAlt, SlipFindExecutable.Resume, SlipFindExecutable.SatisfyByAchieveAlt, SlipSatisfyConds.ResumeSatisfaction
public abstract class Alternative
- extends java.lang.Object
- implements Slip.Step
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
isLocalChoice
protected boolean isLocalChoice
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()
setIsLocalChoice
public void setIsLocalChoice(boolean v)
whenPicked
public void whenPicked()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
extraToStringContents
protected java.lang.String extraToStringContents()