class ModelControlA58.A58Model 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: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
initial version un 27, 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| Modifier and Type | Field and Description |
|---|---|
(package private) nl.tno.imb.TConnection |
imbConnection
IMB connection.
|
(package private) OTSIMBConnector |
imbConnector
Connector to the IMB hub.
|
(package private) org.opentrafficsim.core.network.OTSNetwork |
network
the network as created by the AbstractWrappableIMBAnimation.
|
(package private) nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit |
simulator
The simulator.
|
| Constructor and Description |
|---|
A58Model(nl.tno.imb.TConnection imbConnection,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
org.opentrafficsim.core.network.OTSNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeWindow()
Close and destroy the window.
|
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> pSimulator) |
org.opentrafficsim.core.network.OTSNetwork |
getNetwork() |
(package private) org.opentrafficsim.kpi.sampling.Query |
getQuery(org.opentrafficsim.core.network.OTSNetwork net,
org.opentrafficsim.kpi.sampling.Sampler sampler,
org.opentrafficsim.kpi.sampling.meta.MetaDataSet metaDataSet,
String id)
Get query.
|
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() |
String |
toString() |
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator
nl.tno.imb.TConnection imbConnection
final org.opentrafficsim.core.network.OTSNetwork network
OTSIMBConnector imbConnector
A58Model(nl.tno.imb.TConnection imbConnection,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
org.opentrafficsim.core.network.OTSNetwork network)
imbConnection - the connection to the IMB busgtuColorer - the default and initial GTUColorer, e.g. a DefaultSwitchableTUColorer.network - Network; the networkpublic final 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> pSimulator)
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.SimRuntimeExceptionorg.opentrafficsim.kpi.sampling.Query getQuery(org.opentrafficsim.core.network.OTSNetwork net,
org.opentrafficsim.kpi.sampling.Sampler sampler,
org.opentrafficsim.kpi.sampling.meta.MetaDataSet metaDataSet,
String id)
net - networksampler - samplermetaDataSet - meta dataid - idpublic void closeWindow()
public 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 final org.opentrafficsim.core.network.OTSNetwork getNetwork()
getNetwork in interface org.opentrafficsim.core.dsol.OTSModelInterfaceCopyright © 2014–2018 Delft University of Technology. All rights reserved.