logist.history
Class Event

java.lang.Object
  extended by logist.history.Event

public class Event
extends java.lang.Object

An simulation event is an action carried out by a vehicle at a particular time.

Author:
Robin Steiger

Method Summary
 java.lang.String action()
           
static Event arrive(long time, Vehicle vehicle, Topology.City city)
           
static Event deliver(long time, Vehicle vehicle, Task task)
           
static Event fromAction(long time, Vehicle vehicle, Action action)
           
static Event pickup(long time, Vehicle vehicle, Task task)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

arrive

public static Event arrive(long time,
                           Vehicle vehicle,
                           Topology.City city)

deliver

public static Event deliver(long time,
                            Vehicle vehicle,
                            Task task)

pickup

public static Event pickup(long time,
                           Vehicle vehicle,
                           Task task)

fromAction

public static Event fromAction(long time,
                               Vehicle vehicle,
                               Action action)

action

public java.lang.String action()