public class ModelControlA58
extends nl.tno.imb.mc.ModelStarter
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.
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ModelControlA58.A58Model
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
(package private) class |
ModelControlA58.CoordinateTransformRD
Convert coordinates to/from the Dutch RD system.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) org.opentrafficsim.imb.demo.ModelControlA58.A58Animation |
a58Animation
Animation.
|
(package private) ModelControlA58.A58Model |
model
Model.
|
(package private) double |
penetrationRate
Amount of ACC.
|
(package private) Thread |
startThread
Thread that start model.
|
(package private) Thread |
statisticsThread
Thread for statistics.
|
| Constructor and Description |
|---|
ModelControlA58(String[] args,
String providedModelName,
int providedModelId) |
| Modifier and Type | Method and Description |
|---|---|
double |
getPenetrationRate() |
static void |
main(String[] args)
Tester.
|
void |
parameterRequest(nl.tno.imb.mc.ModelParameters parameters) |
void |
quitApplication() |
void |
startModel(nl.tno.imb.mc.ModelParameters parameters,
nl.tno.imb.TConnection imbConnection) |
void |
stopModel() |
double penetrationRate
ModelControlA58.A58Model model
org.opentrafficsim.imb.demo.ModelControlA58.A58Animation a58Animation
Thread statisticsThread
Thread startThread
public ModelControlA58(String[] args, String providedModelName, int providedModelId) throws org.opentrafficsim.imb.IMBException
args - the command line argsprovidedModelName - the model nameprovidedModelId - the model idorg.opentrafficsim.imb.IMBException - when IMB connection failspublic static void main(String[] args) throws org.opentrafficsim.imb.IMBException, InvocationTargetException, InterruptedException
args - emptyorg.opentrafficsim.imb.IMBException - shen IMB connection failsInterruptedException - not used right nowInvocationTargetException - when running the model control failspublic void startModel(nl.tno.imb.mc.ModelParameters parameters,
nl.tno.imb.TConnection imbConnection)
startModel in class nl.tno.imb.mc.ModelStarterpublic void stopModel()
stopModel in class nl.tno.imb.mc.ModelStarterpublic void quitApplication()
quitApplication in class nl.tno.imb.mc.ModelStarterpublic void parameterRequest(nl.tno.imb.mc.ModelParameters parameters)
parameterRequest in class nl.tno.imb.mc.ModelStarterpublic double getPenetrationRate()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.