class ModelControlA58.A58Model 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: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
initial version un 27, 2015
DSOLModel.CalendarDouble, DSOLModel.CalendarFloat, DSOLModel.CalendarLong, DSOLModel.TimeDouble, DSOLModel.TimeDoubleUnit, DSOLModel.TimeFloat, DSOLModel.TimeFloatUnit, DSOLModel.TimeLong, DSOLModel.TimeLongUnit| 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) org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface |
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(SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble> 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.
|
SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble> |
getSimulator() |
String |
toString() |
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface 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(SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble> pSimulator) throws SimRuntimeException
constructModel in interface DSOLModel<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble>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 SimulatorInterface<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble> getSimulator()
getSimulator in interface DSOLModel<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,org.opentrafficsim.core.dsol.OTSSimTimeDouble>public final org.opentrafficsim.core.network.OTSNetwork getNetwork()
getNetwork in interface org.opentrafficsim.core.dsol.OTSModelInterfaceCopyright © 2014–2017 Delft University of Technology. All rights reserved.