algorithms
Class UpdateActivityTimes
java.lang.Object
algorithms.UpdateActivityTimes
- All Implemented Interfaces:
- ActivityVisitor
public class UpdateActivityTimes
- extends java.lang.Object
- implements ActivityVisitor
Updates arrival and end times of activities.
Note that this modifies arrTime and endTime of each activity in a route.
- Author:
- stefan
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateActivityTimes
public UpdateActivityTimes(ForwardTransportTime transportTime)
- Updates arrival and end times of activities.
Note that this modifies arrTime and endTime of each activity in a route.
ArrTimes and EndTimes can be retrieved by
activity.getArrTime() and
activity.getEndTime()
begin
public void begin(VehicleRoute route)
- Specified by:
begin in interface ActivityVisitor
visit
public void visit(TourActivity activity)
- Specified by:
visit in interface ActivityVisitor
finish
public void finish()
- Specified by:
finish in interface ActivityVisitor