Package org.opentrafficsim.core.dsol
Class AbstractOTSSimulationApplication
- java.lang.Object
-
- org.opentrafficsim.core.dsol.AbstractOTSSimulationApplication
-
- All Implemented Interfaces:
Serializable
public abstract class AbstractOTSSimulationApplication extends Object implements Serializable
AbstractOTSSimulationApplication is a class that can be extended by a simulation application that runs from the command line.Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractOTSSimulationApplication(OTSModelInterface model)The application, which is model aware.
-
-
-
Constructor Detail
-
AbstractOTSSimulationApplication
public AbstractOTSSimulationApplication(OTSModelInterface model)
The application, which is model aware.- Parameters:
model- OTSModelInterface; the model that will be shown in the JFrame
-
-
Method Detail
-
getModel
public final OTSModelInterface getModel()
- Returns:
- model
-
-