Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ix.iplan
Class Alternative

    java.lang.Object
      ix.iplan.Alternative

    public abstract class Alternative

extends java.lang.Object

Alternative -- a backtrack point.

Field Summary
`protected Context` | `context`
`protected double` | `cost`

Constructor Summary
`Alternative()`

Method Summary
`protected double` | `calcCost(Slip slip)`
`protected java.lang.String` | `extraToStringContents()`
`Context` | `getContext()`
`double` | `getCost()`
`boolean` | `isLocalChoice()`
`void` | `setCost(Slip slip)`
`java.lang.String` | `toString()`
`void` | `whenPicked()`

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`

Field Detail

### context

    protected Context context

### cost

    protected double cost

Constructor Detail

### Alternative

    public Alternative()

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD