class OSMModel extends Object implements org.opentrafficsim.core.dsol.OTSModelInterface
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-12-29 11:47:13 +0100 (Tue, 29 Dec 2015) $, @version $Revision: 1672 $, by $Author: averbraeck $,
initial version Feb 10, 2015
nl.tudelft.simulation.dsol.ModelInterface.CalendarDouble, nl.tudelft.simulation.dsol.ModelInterface.CalendarFloat, nl.tudelft.simulation.dsol.ModelInterface.CalendarLong, nl.tudelft.simulation.dsol.ModelInterface.TimeDouble, nl.tudelft.simulation.dsol.ModelInterface.TimeDoubleUnit, nl.tudelft.simulation.dsol.ModelInterface.TimeFloat, nl.tudelft.simulation.dsol.ModelInterface.TimeFloatUnit, nl.tudelft.simulation.dsol.ModelInterface.TimeLong, nl.tudelft.simulation.dsol.ModelInterface.TimeLongUnit
Constructor and Description |
---|
OSMModel(ArrayList<org.opentrafficsim.simulationengine.properties.AbstractProperty<?>> 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.DoubleScalar.Abs<org.djunits.unit.TimeUnit>,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> theSimulator) |
nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit>,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> |
getSimulator() |
public OSMModel(ArrayList<org.opentrafficsim.simulationengine.properties.AbstractProperty<?>> 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.DoubleScalar.Abs<org.djunits.unit.TimeUnit>,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> theSimulator) throws nl.tudelft.simulation.dsol.SimRuntimeException, RemoteException
constructModel
in interface nl.tudelft.simulation.dsol.ModelInterface<org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit>,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble>
nl.tudelft.simulation.dsol.SimRuntimeException
RemoteException
public nl.tudelft.simulation.dsol.simulators.SimulatorInterface<org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit>,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> getSimulator() throws RemoteException
getSimulator
in interface nl.tudelft.simulation.dsol.ModelInterface<org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit>,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble>
RemoteException
Copyright © 2014–2016 Delft University of Technology. All rights reserved.