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.
nl.tudelft.simulation.dsol.ModelInterface.CalendarDouble, nl.tudelft.simulation.dsol.ModelInterface.CalendarFloat, nl.tudelft.simulation.dsol.ModelInterface.CalendarLong, nl.tudelft.simulation.dsol.ModelInterface.TimeDouble, nl.tudelft.simulation.dsol.ModelInterface.TimeDoubleUnit, nl.tudelft.simulation.dsol.ModelInterface.TimeFloat, nl.tudelft.simulation.dsol.ModelInterface.TimeFloatUnit, nl.tudelft.simulation.dsol.ModelInterface.TimeLong, nl.tudelft.simulation.dsol.ModelInterface.TimeLongUnit
Constructor and Description |
---|
SuitabilityGraph()
Instantiate the class.
|
Modifier and Type | Method and Description |
---|---|
void |
constructModel(nl.tudelft.simulation.dsol.simulators.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.
|
nl.tudelft.simulation.dsol.simulators.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, nl.tudelft.simulation.dsol.SimRuntimeException
args
- String[]; command line arguments (not used)RemoteException
- on communications failurenl.tudelft.simulation.dsol.SimRuntimeException
- should never happenprotected final void drawPlots() throws RemoteException, NamingException, org.opentrafficsim.core.network.NetworkException, nl.tudelft.simulation.dsol.SimRuntimeException
org.opentrafficsim.core.network.NetworkException
- on network inconsistencyNamingException
- on ???RemoteException
- on communications failurenl.tudelft.simulation.dsol.SimRuntimeException
- on ???public final JPanel getPanel()
public final void constructModel(nl.tudelft.simulation.dsol.simulators.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 nl.tudelft.simulation.dsol.SimRuntimeException, RemoteException
constructModel
in interface nl.tudelft.simulation.dsol.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>
nl.tudelft.simulation.dsol.SimRuntimeException
RemoteException
public final nl.tudelft.simulation.dsol.simulators.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 nl.tudelft.simulation.dsol.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>
RemoteException
Copyright © 2014–2015 Delft University of Technology. All rights reserved.