public class DummyManager extends IntersectionManager
currentTime, id| Constructor and Description |
|---|
DummyManager(Intersection intersection,
TrackModel trajectoryModel,
double currentTime,
Registry<IntersectionManager> registry)
Create a dummy manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
act(double timeStep)
Take any actions for a certain period of time.
|
void |
printData(String outFileName)
Print the collected data to a file
|
checkCurrentTime, contains, getCurrentTime, getDebugShapes, getId, getIntersection, getSortedDepartureLanes, getTrackModel, intersects, manages, manages, traversalDistance, traversalDistance, traversalDistancepublic DummyManager(Intersection intersection, TrackModel trajectoryModel, double currentTime, Registry<IntersectionManager> registry)
intersection - an intersectiontrajectoryModel - a trajectory modelcurrentTime - the current timeregistry - the intersection managers registrypublic void act(double timeStep)
act in class IntersectionManagertimeStep - the size of the time step to simulate, in secondspublic void printData(String outFileName)
printData in class IntersectionManageroutFileName - the name of the file to which the data are outputted.Copyright © 2013. All rights reserved.