|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlogist.plan.Action
public abstract class Action
An action of a vehicle during the simulation. There are 3 possibles actions:
Action.Move)Action.Pickup)Action.Delivery )
PlanVerifier,
Plan| Nested Class Summary | |
|---|---|
static class |
Action.Delivery
A delivery of a task |
static class |
Action.Move
A move to another city |
static class |
Action.Pickup
A pickup of a task |
| Method Summary | ||
|---|---|---|
abstract
|
accept(ActionHandler<T> handler)
Performs a pattern matching on the type of task. |
|
abstract java.lang.String |
toLongString()
Shows tasks with full details rather than just the id. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract java.lang.String toLongString()
public abstract <T> T accept(ActionHandler<T> handler)
T - the type of the value produced by the handlerhandler - the handler for each pattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||