Index

A C D F G I L M N O P R S T X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ADDITIONAL_INCENTIVES - Static variable in class org.opentrafficsim.demo.ShortMerge
Use additional incentives.
addStatisticsTabs(OtsSimulatorInterface) - Method in class org.opentrafficsim.demo.CircularRoadSwing
Add the statistics tabs.
addStatisticsTabs(OtsSimulatorInterface) - Method in class org.opentrafficsim.demo.NetworksSwing
Add the statistics tabs.
addStatisticsTabs(OtsSimulatorInterface) - Method in class org.opentrafficsim.demo.StraightSwing
Add the statistics tabs.
addTabs() - Method in class org.opentrafficsim.demo.CircularRoadSwing
addTabs() - Method in class org.opentrafficsim.demo.NetworksSwing
addTabs() - Method in class org.opentrafficsim.demo.ShortMerge
addTabs() - Method in class org.opentrafficsim.demo.StraightSwing
addTabs() - Method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2
Add tabs with trafCOD status display.

C

checkExit(int) - Method in class org.opentrafficsim.demo.SuperDemo.NoExitSecurityManager
 
CircularRoadModel - Class in org.opentrafficsim.demo
Simulate traffic on a circular, two-lane road.
CircularRoadModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.CircularRoadModel
 
CircularRoadSwing - Class in org.opentrafficsim.demo
Circular road simulation demo.
CircularRoadSwing(String, OtsAnimationPanel, CircularRoadModel) - Constructor for class org.opentrafficsim.demo.CircularRoadSwing
Create a CircularRoad Swing application.
clickRunPause(Component) - Static method in class org.opentrafficsim.demo.CircularRoadSwing
Click the button that starts the animated simulation.
clickStart(Component) - Static method in class org.opentrafficsim.demo.CircularRoadSwing
Find the start simulation button and click it.
constructModel() - Method in class org.opentrafficsim.demo.CircularRoadModel
constructModel() - Method in class org.opentrafficsim.demo.conflict.TJunctionDemo.TJunctionModel
constructModel() - Method in class org.opentrafficsim.demo.conflict.TurboRoundaboutDemo.TurboRoundaboutModel
constructModel() - Method in class org.opentrafficsim.demo.fd.FundamentalDiagramModel
constructModel() - Method in class org.opentrafficsim.demo.loadfromxml.LoadXml.XmlModel
constructModel() - Method in class org.opentrafficsim.demo.NetworksModel
constructModel() - Method in class org.opentrafficsim.demo.ShortMerge.ShortMergeModel
constructModel() - Method in class org.opentrafficsim.demo.StraightModel
constructModel() - Method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2.TrafCodModel
COOPERATION - Static variable in class org.opentrafficsim.demo.ShortMerge
Cooperation.
createBlock() - Method in class org.opentrafficsim.demo.StraightModel
Set up the block.
createGtu(Lane, Length, GtuType, Speed, RoadNetwork) - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo
Creates a GTU.

D

DefaultsFactory - Class in org.opentrafficsim.demo
Factory for defaults in demos.
DefaultsResolver() - Constructor for class org.opentrafficsim.demo.ParseXml.DefaultsResolver
 
demo(boolean) - Static method in class org.opentrafficsim.demo.CircularRoadSwing
Start the demo.
demo(boolean) - Static method in class org.opentrafficsim.demo.conflict.TJunctionDemo
Start the demo.
demo(boolean) - Static method in class org.opentrafficsim.demo.conflict.TurboRoundaboutDemo
Start the demo.
demo(boolean) - Static method in class org.opentrafficsim.demo.NetworksSwing
Start the demo.
demo(boolean) - Static method in class org.opentrafficsim.demo.ShortMerge
Start the demo.
demo(boolean) - Static method in class org.opentrafficsim.demo.StraightSwing
Start the demo.
demo(boolean) - Static method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2
Start the demo.

F

FundamentalDiagramDemo - Class in org.opentrafficsim.demo.fd
Demo showing what fundamental diagrams are.
FundamentalDiagramDemo() - Constructor for class org.opentrafficsim.demo.fd.FundamentalDiagramDemo
Constructor.
FundamentalDiagramModel - Class in org.opentrafficsim.demo.fd
Fundamental diagram model.
FundamentalDiagramModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.fd.FundamentalDiagramModel
 

G

generateCarFollowingModel() - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo.SocioIDMFactory
generateGTU(Length, Lane, GtuType) - Method in class org.opentrafficsim.demo.CircularRoadModel
Generate one gtu.
generatePerception(LaneBasedGtu) - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo.LmrsStrategiesPerceptionFactory
getDefaultParameters() - Static method in class org.opentrafficsim.demo.DefaultsFactory
Returns a default set of parameters.
getMaximumDistance() - Method in class org.opentrafficsim.demo.NetworksModel
 
getMinimumDistance() - Method in class org.opentrafficsim.demo.CircularRoadModel
 
getMinimumDistance() - Method in class org.opentrafficsim.demo.NetworksModel
 
getNetwork() - Method in class org.opentrafficsim.demo.CircularRoadModel
getNetwork() - Method in class org.opentrafficsim.demo.conflict.TJunctionDemo.TJunctionModel
getNetwork() - Method in class org.opentrafficsim.demo.conflict.TurboRoundaboutDemo.TurboRoundaboutModel
getNetwork() - Method in class org.opentrafficsim.demo.fd.FundamentalDiagramModel
getNetwork() - Method in class org.opentrafficsim.demo.loadfromxml.LoadXml.XmlModel
getNetwork() - Method in class org.opentrafficsim.demo.NetworksModel
getNetwork() - Method in class org.opentrafficsim.demo.ShortMerge.ShortMergeModel
getNetwork() - Method in class org.opentrafficsim.demo.StraightModel
getNetwork() - Method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2.TrafCodModel
getParameter() - Method in class org.opentrafficsim.demo.NetworksSwing.InputFieldSelectionMapRadio
getParameterFactory() - Method in class org.opentrafficsim.demo.RampMeteringDemo
Returns the parameter factory.
getParameters() - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo.LmrsStrategiesPerceptionFactory
getParameters() - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo.SocioIDMFactory
getParametersCar(InputParameterMap) - Static method in class org.opentrafficsim.demo.InputParameterHelper
Get the car parameters as entered.
getParametersTruck(InputParameterMap) - Static method in class org.opentrafficsim.demo.InputParameterHelper
Get the truck parameters as entered.
getPath() - Method in class org.opentrafficsim.demo.StraightModel
 
getPath(int) - Method in class org.opentrafficsim.demo.CircularRoadModel
 
getPath(int) - Method in class org.opentrafficsim.demo.NetworksModel
 
getValue() - Method in class org.opentrafficsim.demo.NetworksSwing.InputFieldSelectionMapRadio
 

I

InputFieldSelectionMapRadio(JPanel, InputParameterSelectionMap<K, T>) - Constructor for class org.opentrafficsim.demo.NetworksSwing.InputFieldSelectionMapRadio
Create a string field on the screen.
InputParameterHelper - Class in org.opentrafficsim.demo
InputParameterHelper.java.
InputParameterHelper(InputParameterMap) - Constructor for class org.opentrafficsim.demo.InputParameterHelper
Constructor.

L

LEFT_FRACTION - Static variable in class org.opentrafficsim.demo.ShortMerge
Left traffic fraction.
LmrsStrategiesPerceptionFactory() - Constructor for class org.opentrafficsim.demo.strategies.StrategiesDemo.LmrsStrategiesPerceptionFactory
 
LoadXml - Class in org.opentrafficsim.demo.loadfromxml
Select a OTS-network XML file, load it and run it.
LoadXml(OtsModelInterface, OtsAnimationPanel) - Constructor for class org.opentrafficsim.demo.loadfromxml.LoadXml
 
LoadXml.XmlModel - Class in org.opentrafficsim.demo.loadfromxml
The Model.

M

main(String[]) - Static method in class org.opentrafficsim.demo.CircularRoadSwing
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.conflict.TJunctionDemo
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.conflict.TurboRoundaboutDemo
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.fd.FundamentalDiagramDemo
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.loadfromxml.LoadXml
Load a network from an XML file; program entry point.
main(String[]) - Static method in class org.opentrafficsim.demo.NetworksSwing
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.ParseXml
 
main(String[]) - Static method in class org.opentrafficsim.demo.RampMeteringDemo
 
main(String[]) - Static method in class org.opentrafficsim.demo.ShortMerge
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.StraightSwing
Main program.
main(String[]) - Static method in class org.opentrafficsim.demo.strategies.StrategiesDemo
Main method.
main(String[]) - Static method in class org.opentrafficsim.demo.SuperDemo
 
main(String[]) - Static method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2
Main program.
MAIN_DEMAND - Static variable in class org.opentrafficsim.demo.ShortMerge
Main demand per lane.
makeInputParameterMap() - Method in class org.opentrafficsim.demo.CircularRoadModel
Make a map of input parameters for this demo.
makeInputParameterMapCar(InputParameterMap, double) - Static method in class org.opentrafficsim.demo.InputParameterHelper
Make a map of input parameters for a demo with a car tabs with parameters.
makeInputParameterMapCarTruck(InputParameterMap, double) - Static method in class org.opentrafficsim.demo.InputParameterHelper
Make a map of input parameters for a demo with a car/truck ratio and car/truck tabs with parameters.
makeInputParameterMapTruck(InputParameterMap, double) - Static method in class org.opentrafficsim.demo.InputParameterHelper
Make a map of input parameters for a demo with a truck tabs with parameters.
makeTemplate(StreamInterface, Lane, ContinuousDistDoubleScalar.Rel<Length, LengthUnit>, ContinuousDistDoubleScalar.Rel<Length, LengthUnit>, ContinuousDistDoubleScalar.Rel<Speed, SpeedUnit>, Set<LanePosition>, LaneBasedStrategicalPlannerFactory<?>) - Method in class org.opentrafficsim.demo.NetworksModel
 

N

NETWORK - Static variable in class org.opentrafficsim.demo.ShortMerge
Network.
NetworksModel - Class in org.opentrafficsim.demo
Simulate a single lane road of 5 km length.
NetworksModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.NetworksModel
 
NetworksSwing - Class in org.opentrafficsim.demo
Simplest contour plots demonstration.
NetworksSwing(String, OtsAnimationPanel, NetworksModel) - Constructor for class org.opentrafficsim.demo.NetworksSwing
Create a Networks Swing application.
NetworksSwing.InputFieldSelectionMapRadio<K,T> - Class in org.opentrafficsim.demo
Radio button selection map.
NoExitSecurityManager() - Constructor for class org.opentrafficsim.demo.SuperDemo.NoExitSecurityManager
 
notify(Event) - Method in class org.opentrafficsim.demo.NetworksModel
notify(Event) - Method in class org.opentrafficsim.demo.RampMeteringDemo
notify(Event) - Method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2.TrafCodModel
notifyPlotsChanged() - Method in class org.opentrafficsim.demo.fd.FundamentalDiagramDemo
Response when settings were changed that affect the shape of the theoretical fundamental diagram, i.e. the FD line.

O

onSimulationEnd() - Method in class org.opentrafficsim.demo.RampMeteringDemo
org.opentrafficsim.demo - package org.opentrafficsim.demo
Several demos.
org.opentrafficsim.demo.conflict - package org.opentrafficsim.demo.conflict
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
org.opentrafficsim.demo.fd - package org.opentrafficsim.demo.fd
 
org.opentrafficsim.demo.loadfromxml - package org.opentrafficsim.demo.loadfromxml
Load a network from an XML file.
org.opentrafficsim.demo.strategies - package org.opentrafficsim.demo.strategies
This package contains simulations regarding LMRS lane change strategies.
org.opentrafficsim.demo.trafficcontrol - package org.opentrafficsim.demo.trafficcontrol
Demonstrations of traffic control in OTS.

P

ParseXml - Class in org.opentrafficsim.demo
ParseXml.java.
ParseXml() - Constructor for class org.opentrafficsim.demo.ParseXml
Make a DOM tree and do some xpath.
ParseXml.DefaultsResolver - Class in org.opentrafficsim.demo
 
pathCount() - Method in class org.opentrafficsim.demo.NetworksModel
Return the number of paths that can be used to show graphs.

R

RAMP_DEMAND - Static variable in class org.opentrafficsim.demo.ShortMerge
Ramp demand.
RampMeteringDemo - Class in org.opentrafficsim.demo
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
RampMeteringDemo() - Constructor for class org.opentrafficsim.demo.RampMeteringDemo
Constructor.
readStringFromURL(URL) - Static method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2
Open an URL, read it and store the contents in a string.
removeBlock() - Method in class org.opentrafficsim.demo.StraightModel
Remove the block.
resolveEntity(String, String) - Method in class org.opentrafficsim.demo.ParseXml.DefaultsResolver

S

sample(TraceVerifier) - Method in class org.opentrafficsim.demo.CircularRoadModel
Sample the state of the simulation.
setAnimationToggles() - Method in class org.opentrafficsim.demo.ShortMerge
setNetwork(RoadNetwork) - Method in class org.opentrafficsim.demo.ShortMerge.ShortMergeModel
 
setupDemo(OtsAnimationPanel, RoadNetwork) - Method in class org.opentrafficsim.demo.fd.FundamentalDiagramDemo
setupDemo(OtsAnimationPanel, RoadNetwork) - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo
setupSimulation(OtsSimulatorInterface) - Method in class org.opentrafficsim.demo.fd.FundamentalDiagramDemo
setupSimulation(OtsSimulatorInterface) - Method in class org.opentrafficsim.demo.RampMeteringDemo
setupSimulation(OtsSimulatorInterface) - Method in class org.opentrafficsim.demo.strategies.StrategiesDemo
setValues(Parameters, GtuType) - Method in class org.opentrafficsim.demo.InputParameterHelper
ShortMerge - Class in org.opentrafficsim.demo
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ShortMerge(String, OtsAnimationPanel, ShortMerge.ShortMergeModel) - Constructor for class org.opentrafficsim.demo.ShortMerge
Create a ShortMerge Swing application.
ShortMerge.ShortMergeModel - Class in org.opentrafficsim.demo
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ShortMergeModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.ShortMerge.ShortMergeModel
 
SIMTIME - Static variable in class org.opentrafficsim.demo.ShortMerge
Simulation time.
simulatorDemo() - Static method in class org.opentrafficsim.demo.CircularRoadSwing
Run the simulation without animation.
SocioIDMFactory() - Constructor for class org.opentrafficsim.demo.strategies.StrategiesDemo.SocioIDMFactory
 
stopSimulator(OtsSimulatorInterface, String) - Method in class org.opentrafficsim.demo.CircularRoadModel
Stop simulation and throw an Error.
StraightModel - Class in org.opentrafficsim.demo
Simulate a single lane road of 5 km length.
StraightModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.StraightModel
 
StraightSwing - Class in org.opentrafficsim.demo
Simplest contour plots demonstration.
StraightSwing(String, OtsAnimationPanel, StraightModel) - Constructor for class org.opentrafficsim.demo.StraightSwing
Create a Straight Swing application.
StrategiesDemo - Class in org.opentrafficsim.demo.strategies
Demo of lane change strategies.
StrategiesDemo() - Constructor for class org.opentrafficsim.demo.strategies.StrategiesDemo
Constructor.
StrategiesDemo.LmrsStrategiesPerceptionFactory - Class in org.opentrafficsim.demo.strategies
Perception factory.
StrategiesDemo.SocioIDMFactory - Class in org.opentrafficsim.demo.strategies
IDM factory with socio speed.
SuperDemo - Class in org.opentrafficsim.demo
SuperDemo.java.
SuperDemo() - Constructor for class org.opentrafficsim.demo.SuperDemo
Construct a mode chooser that can start different models.
SuperDemo.NoExitSecurityManager - Class in org.opentrafficsim.demo
the class to prevent the models from exiting the whole SuperDemo application.
SYNCHRONIZATION - Static variable in class org.opentrafficsim.demo.ShortMerge
Synchronization.

T

TJunctionDemo - Class in org.opentrafficsim.demo.conflict
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
TJunctionDemo(String, OtsAnimationPanel, TJunctionDemo.TJunctionModel) - Constructor for class org.opentrafficsim.demo.conflict.TJunctionDemo
Create a T-Junction demo.
TJunctionDemo.TJunctionModel - Class in org.opentrafficsim.demo.conflict
The simulation model.
TJunctionModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.conflict.TJunctionDemo.TJunctionModel
 
toString() - Method in class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2.TrafCodModel
TrafCodDemo2 - Class in org.opentrafficsim.demo.trafficcontrol
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
TrafCodDemo2(String, OtsAnimationPanel, TrafCodDemo2.TrafCodModel) - Constructor for class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2
Create a Trafcod demo.
TrafCodDemo2.TrafCodModel - Class in org.opentrafficsim.demo.trafficcontrol
The simulation model.
TrafCodModel(OtsSimulatorInterface, String, String, String) - Constructor for class org.opentrafficsim.demo.trafficcontrol.TrafCodDemo2.TrafCodModel
 
TRUCK_FRACTION - Static variable in class org.opentrafficsim.demo.ShortMerge
Truck fraction.
TurboRoundaboutDemo - Class in org.opentrafficsim.demo.conflict
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
TurboRoundaboutDemo(String, OtsAnimationPanel, TurboRoundaboutDemo.TurboRoundaboutModel) - Constructor for class org.opentrafficsim.demo.conflict.TurboRoundaboutDemo
Create a T-Junction demo.
TurboRoundaboutDemo.TurboRoundaboutModel - Class in org.opentrafficsim.demo.conflict
The simulation model.
TurboRoundaboutModel(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.demo.conflict.TurboRoundaboutDemo.TurboRoundaboutModel
 

X

XmlModel(OtsSimulatorInterface, String, String, String) - Constructor for class org.opentrafficsim.demo.loadfromxml.LoadXml.XmlModel
 
A C D F G I L M N O P R S T X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form