public class ModelControlDemo
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) static class |
ModelControlDemo.CircularRoadIMB
Simulate traffic on a circular, two-lane road.
|
Constructor and Description |
---|
ModelControlDemo(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 tConnection) |
void |
stopModel() |
public void startModel(nl.tno.imb.mc.ModelParameters parameters, nl.tno.imb.TConnection tConnection)
startModel
in class nl.tno.imb.mc.ModelStarter
public void stopModel()
stopModel
in class nl.tno.imb.mc.ModelStarter
public void quitApplication()
quitApplication
in class nl.tno.imb.mc.ModelStarter
public void parameterRequest(nl.tno.imb.mc.ModelParameters parameters)
parameterRequest
in class nl.tno.imb.mc.ModelStarter
public static void main(String[] args) throws InvocationTargetException, InterruptedException
args
- InvocationTargetException
InterruptedException
Copyright © 2014–2016 Delft University of Technology. All rights reserved.