class OSMModel extends Object implements org.opentrafficsim.core.dsol.OTSModelInterface
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2016-10-28 16:34:11 +0200 (Fri, 28 Oct 2016) $, @version $Revision: 2429 $, by $Author: pknoppers $,
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, nl.tudelft.simulation.dsol.DSOLModel.TimeLongUnit
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,org.opentrafficsim.core.dsol.OTSSimTimeDouble> theSimulator) |
nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble> |
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,org.opentrafficsim.core.dsol.OTSSimTimeDouble> theSimulator) throws nl.tudelft.simulation.dsol.SimRuntimeException, RemoteException
constructModel
in interface nl.tudelft.simulation.dsol.DSOLModel<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble>
nl.tudelft.simulation.dsol.SimRuntimeException
RemoteException
public nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble> getSimulator() throws RemoteException
getSimulator
in interface nl.tudelft.simulation.dsol.DSOLModel<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble>
RemoteException
Copyright © 2014–2016 Delft University of Technology. All rights reserved.