public interface WrappableSimulation
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
initial version 17 dec. 2014
Modifier and Type | Method and Description |
---|---|
SimpleSimulatorInterface |
buildSimulator(org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Rel warmupPeriod,
org.djunits.value.vdouble.scalar.Time.Rel runLength,
ArrayList<AbstractProperty<?>> properties)
Build the simulation.
|
String |
description()
Return a description of the simulation (HTML formatted).
|
ArrayList<AbstractProperty<?>> |
getProperties()
Retrieve a list of visible properties of the simulation.
|
String |
shortName()
Return a very short description of the simulation.
|
SimpleSimulatorInterface buildSimulator(org.djunits.value.vdouble.scalar.Time.Abs startTime, org.djunits.value.vdouble.scalar.Time.Rel warmupPeriod, org.djunits.value.vdouble.scalar.Time.Rel runLength, ArrayList<AbstractProperty<?>> properties) throws nl.tudelft.simulation.dsol.SimRuntimeException, NetworkException, NamingException
startTime
- DoubleScalar.Abs<TimeUnit>; the start time of the simulationwarmupPeriod
- DoubleScalar.Rel<TimeUnit>; the warm up period of the simulation (use new
DoubleScalar.Rel<TimeUnit>(0, SECOND) if you don't know what this is)runLength
- DoubleScalar.Rel<TimeUnit>; the duration of the simulationproperties
- ArrayList<AbstractProperty<?>>; the (possibly user-modified) properties. This list must
contain all the properties returned by getProperties(); any additional properties may be ignorednl.tudelft.simulation.dsol.SimRuntimeException
- on ???NetworkException
- on Network inconsistencyNamingException
- when context for the animation cannot be createdString shortName()
String description()
ArrayList<AbstractProperty<?>> getProperties()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.