public class SuitabilityGraph extends Object implements org.opentrafficsim.core.dsol.OTSModelInterface
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights
reserved.
BSD-style license. See OpenTrafficSim License.
ModelInterface.CalendarDouble, ModelInterface.CalendarFloat, ModelInterface.CalendarLong, ModelInterface.TimeDouble, ModelInterface.TimeDoubleUnit, ModelInterface.TimeFloat, ModelInterface.TimeFloatUnit, ModelInterface.TimeLong, ModelInterface.TimeLongUnit| Constructor and Description |
|---|
SuitabilityGraph()
Instantiate the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
constructModel(SimulatorInterface<org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Abs<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Rel<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> simulator) |
protected void |
drawPlots()
Draw the plots.
|
JPanel |
getPanel()
Return the JPanel that contains all the graphs.
|
SimulatorInterface<org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Abs<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Rel<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> |
getSimulator() |
static void |
main(String[] args)
Start the program.
|
public static void main(String[] args) throws RemoteException, SimRuntimeException
args - String[]; command line arguments (not used)RemoteException - on communications failureSimRuntimeException - should never happenprotected final void drawPlots()
throws RemoteException,
NamingException,
org.opentrafficsim.core.network.NetworkException,
SimRuntimeException
org.opentrafficsim.core.network.NetworkException - on network inconsistencyNamingException - on ???RemoteException - on communications failureSimRuntimeException - on ???public final JPanel getPanel()
public final void constructModel(SimulatorInterface<org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Abs<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Rel<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> simulator) throws SimRuntimeException, RemoteException
constructModel in interface ModelInterface<org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Abs<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Rel<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble>SimRuntimeExceptionRemoteExceptionpublic final SimulatorInterface<org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Abs<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Rel<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble> getSimulator() throws RemoteException
getSimulator in interface ModelInterface<org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Abs<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar.Rel<org.opentrafficsim.core.unit.TimeUnit>,org.opentrafficsim.core.dsol.OTSSimTimeDouble>RemoteExceptionCopyright © 2014–2015 Delft University of Technology. All rights reserved.