class OSMModel extends Object implements org.opentrafficsim.core.dsol.OTSModelInterface
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2018-09-19 13:55:45 +0200 (Wed, 19 Sep 2018) $, @version $Revision: 4006 $, by $Author: averbraeck $,
initial version Feb 10, 2015
nl.tudelft.simulation.dsol.DSOLModel.CalendarDouble, nl.tudelft.simulation.dsol.DSOLModel.CalendarFloat, nl.tudelft.simulation.dsol.DSOLModel.CalendarLong, nl.tudelft.simulation.dsol.DSOLModel.TimeDouble, nl.tudelft.simulation.dsol.DSOLModel.TimeDoubleUnit, nl.tudelft.simulation.dsol.DSOLModel.TimeFloat, nl.tudelft.simulation.dsol.DSOLModel.TimeFloatUnit, nl.tudelft.simulation.dsol.DSOLModel.TimeLong| Constructor and Description |
|---|
OSMModel(List<org.opentrafficsim.base.modelproperties.Property<?>> properties,
org.opentrafficsim.road.network.factory.osm.OSMNetwork osmNetwork,
org.opentrafficsim.road.network.factory.osm.events.WarningListener wL,
org.opentrafficsim.road.network.factory.osm.events.ProgressListener pL,
org.opentrafficsim.road.network.factory.osm.output.Convert converter) |
| Modifier and Type | Method and Description |
|---|---|
void |
constructModel(nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit> theSimulator) |
org.opentrafficsim.core.network.OTSNetwork |
getNetwork() |
nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit> |
getSimulator() |
OSMModel(List<org.opentrafficsim.base.modelproperties.Property<?>> properties, org.opentrafficsim.road.network.factory.osm.OSMNetwork osmNetwork, org.opentrafficsim.road.network.factory.osm.events.WarningListener wL, org.opentrafficsim.road.network.factory.osm.events.ProgressListener pL, org.opentrafficsim.road.network.factory.osm.output.Convert converter)
properties - ArrayList<AbstractProperty<?>>; the properties (not used)osmNetwork - OSMNetwork; the OSM network structurewL - WarningListener; the receiver of warning eventspL - ProgressListener; the receiver of progress eventsconverter - Convert; the output converterpublic void constructModel(nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit> theSimulator)
throws nl.tudelft.simulation.dsol.SimRuntimeException
constructModel in interface nl.tudelft.simulation.dsol.DSOLModel<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit>nl.tudelft.simulation.dsol.SimRuntimeExceptionpublic nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit> getSimulator()
getSimulator in interface nl.tudelft.simulation.dsol.DSOLModel<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit>public org.opentrafficsim.core.network.OTSNetwork getNetwork()
getNetwork in interface org.opentrafficsim.core.dsol.OTSModelInterfaceCopyright © 2014–2018 Delft University of Technology. All rights reserved.