public class ShortMerge
extends org.opentrafficsim.simulationengine.AbstractWrappableAnimation
Copyright (c) 2013-2017 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-2017 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 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() |
protected org.opentrafficsim.core.gtu.animation.GTUColorer |
getColorer() |
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface |
getSimulator() |
static void |
main(String[] args)
Main method.
|
protected org.opentrafficsim.core.dsol.OTSModelInterface |
makeModel(org.opentrafficsim.core.gtu.animation.GTUColorer colorer) |
void |
setSimulator(org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
String |
shortName() |
addTab, addTabs, addToggleAnimationButtonIcon, addToggleAnimationButtonText, addToggleGISButtonText, buildAnimator, buildSimpleAnimator, buildSimpleAnimator, getPanel, getProperties, getTabCount, getUserModifiedProperties, hideAnimationClass, hideGISLayer, makeAnimationRectangle, rebuildSimulator, setNextReplication, showAnimationClass, showGISLayer, stopTimersThreads, toggleAnimationClass, toggleGISLayerstatic 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 boolean ADDITIONAL_INCENTIVES
public static final org.djunits.value.vdouble.scalar.Time SIMTIME
public String shortName()
public String description()
protected final void addAnimationToggles()
addAnimationToggles in class org.opentrafficsim.simulationengine.AbstractWrappableAnimationprotected org.opentrafficsim.core.gtu.animation.GTUColorer getColorer()
getColorer in class org.opentrafficsim.simulationengine.AbstractWrappableAnimationprotected org.opentrafficsim.core.dsol.OTSModelInterface makeModel(org.opentrafficsim.core.gtu.animation.GTUColorer colorer)
throws org.opentrafficsim.simulationengine.OTSSimulationException
makeModel in class org.opentrafficsim.simulationengine.AbstractWrappableAnimationorg.opentrafficsim.simulationengine.OTSSimulationExceptionpublic org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface getSimulator()
public void setSimulator(org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
simulator - set simulator.public static void main(String[] args)
args - args for main programCopyright © 2014–2017 Delft University of Technology. All rights reserved.