public class ModelControlA58
extends nl.tno.imb.mc.ModelStarter
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.
| 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() |
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–2018 Delft University of Technology. All rights reserved.