public class ShortMerge
extends org.opentrafficsim.simulationengine.AbstractWrappableAnimation
Copyright (c) 2013-2018 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) class |
ShortMerge.ShortMergeModel
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
ADDITIONAL_INCENTIVES
Use additional incentives.
|
(package private) static org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Cooperation |
COOPERATION
Cooperation.
|
(package private) static double |
LEFT_FRACTION
Left traffic fraction.
|
(package private) static org.djunits.value.vdouble.scalar.Frequency |
MAIN_DEMAND
Main demand.
|
(package private) static String |
NETWORK
Network.
|
(package private) static org.djunits.value.vdouble.scalar.Frequency |
RAMP_DEMAND
Ramp demand.
|
static org.djunits.value.vdouble.scalar.Time |
SIMTIME
Simulation time.
|
(package private) static org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Synchronization |
SYNCHRONIZATION
Synchronization.
|
(package private) static double |
TRUCK_FRACTION
Truck fraction.
|
Constructor and Description |
---|
ShortMerge() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAnimationToggles() |
String |
description() |
org.opentrafficsim.core.gtu.animation.GTUColorer |
getColorer() |
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit |
getSimulator() |
static void |
main(String[] args)
Main method.
|
protected org.opentrafficsim.core.dsol.OTSModelInterface |
makeModel() |
void |
setSimulator(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator) |
String |
shortName() |
addTab, addTabs, addToggleAnimationButtonIcon, addToggleAnimationButtonText, addToggleGISButtonText, buildAnimator, buildSimpleAnimator, buildSimpleAnimator, getAppearance, getDemoPanel, getPanel, getProperties, getTabCount, getUserModifiedProperties, hideAnimationClass, hideGISLayer, makeAnimationRectangle, rebuildSimulator, setAppearance, setNextReplication, setupDemo, showAnimationClass, showGISLayer, stopTimersThreads, toggleAnimationClass, toggleGISLayer
static final String NETWORK
static final double TRUCK_FRACTION
static final double LEFT_FRACTION
static final org.djunits.value.vdouble.scalar.Frequency MAIN_DEMAND
static final org.djunits.value.vdouble.scalar.Frequency RAMP_DEMAND
static final org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Synchronization SYNCHRONIZATION
static final org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Cooperation COOPERATION
static final boolean ADDITIONAL_INCENTIVES
public static final org.djunits.value.vdouble.scalar.Time SIMTIME
public final String shortName()
public final String description()
protected final void addAnimationToggles()
addAnimationToggles
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
public org.opentrafficsim.core.gtu.animation.GTUColorer getColorer()
getColorer
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
protected org.opentrafficsim.core.dsol.OTSModelInterface makeModel() throws org.opentrafficsim.simulationengine.OTSSimulationException
makeModel
in class org.opentrafficsim.simulationengine.AbstractWrappableAnimation
org.opentrafficsim.simulationengine.OTSSimulationException
public final nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit getSimulator()
public final void setSimulator(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
simulator
- set simulator.public static void main(String[] args)
args
- args for main programCopyright © 2014–2018 Delft University of Technology. All rights reserved.