public class ModelControlKPI
extends nl.tno.imb.mc.ModelStarter
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
ModelControlKPI(String[] args,
String providedModelName,
int providedModelId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Entry point
|
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 ModelControlKPI(String[] args, String providedModelName, int providedModelId) throws org.opentrafficsim.imb.IMBException
args - String[]; model starter command line argumentsprovidedModelName - String; name of the modelprovidedModelId - int; id of the modelorg.opentrafficsim.imb.IMBException - in case of IMB errorpublic static void main(String[] args) throws InvocationTargetException, InterruptedException
args - String[]; argsInvocationTargetException - if an exception is thrown while running doRunInterruptedException - if we're interrupted while waiting for the event dispatching thread to finish executing
doRun.run()public 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.ModelStarterCopyright © 2014–2019 Delft University of Technology. All rights reserved.