public class GTUDumper extends Object
Copyright (c) 2019-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
GTUDumper(OTSSimulatorInterface simulator,
Time firstDumpTime,
Duration interval,
OTSNetwork network,
String fileNamePrefix)
Construct a new GTUDumper.
|
public GTUDumper(OTSSimulatorInterface simulator, Time firstDumpTime, Duration interval, OTSNetwork network, String fileNamePrefix) throws nl.tudelft.simulation.dsol.SimRuntimeException
simulator - OTSSimulatorInterface; the simulatorfirstDumpTime - Time; the time of the first dumpinterval - Duration; the interval until each subsequent dumpnetwork - OTSNetwork; the network (that will contain the GTUs to dump)fileNamePrefix - String; directory and first part if the file names; the simulation time of the dump will be
appended to the file name. The file type will be .txtnl.tudelft.simulation.dsol.SimRuntimeException - when scheduling the first dump time failsCopyright © 2014–2019 Delft University of Technology. All rights reserved.