Skip navigation links
A C D E F G H I L M N O P S T V 

A

AbstractLaneBasedGTUTest - Class in org.opentrafficsim.road.gtu
Test the various methods of an AbstractLaneBasedGTU.
As abstract classes cannot be directly
AbstractLaneBasedGTUTest() - Constructor for class org.opentrafficsim.road.gtu.AbstractLaneBasedGTUTest
 
abstractLaneBasedGTUTest() - Method in class org.opentrafficsim.road.gtu.AbstractLaneBasedGTUTest
Test that the constructor puts the supplied values in the correct fields, then check the motion of the GTU.
accelerationContourTest() - Method in class org.opentrafficsim.graphs.ContourPlotTest
Test the AccelerationContourPlot.
autoPauseSimulator() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
Executed as scheduled event.

C

CarTest - Class in org.opentrafficsim.road.car
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
CarTest() - Constructor for class org.opentrafficsim.road.car.CarTest
 
carTest() - Method in class org.opentrafficsim.road.car.CarTest
Test some basics of the Car class.
CarTest.Model - Class in org.opentrafficsim.road.car
The helper model.
changeRight() - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
Test that a vehicle in the left lane changes to the right lane if that is empty, or there is enough room.
ClassList - Class in org.opentrafficsim.road
Build a list of the classes in the project (or under a specific directory/package in the project).
Adapted from http://stackoverflow.com/questions/3923129/get-a-list-of-resources-from-classpath-directory which apparently copied the code from http://forums.devx.com/showthread.php?153784-how-to-list-resources-in-a-package.
classList(String, boolean) - Static method in class org.opentrafficsim.road.ClassList
Return a List of all the classes under a package.
clone(CrossSectionElement, OTSSimulatorInterface, boolean) - Method in class org.opentrafficsim.road.network.lane.TriggerSensor
compatibleLaneTypeTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest
Test the isCompatible method.
computeAcceleration() - Method in class org.opentrafficsim.road.gtu.following.IDMPlusTest
Test IDMPlus.
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.graphs.ContourPlotModel
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.graphs.FundamentalDiagramPlotTest
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.car.CarTest.Model
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.DummyModel
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.DummyModelForTemplateGTUTest
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.Model
constructModel(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
constructorTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest
Test construction of a TemplateGTUType and prove that each one uses private fields.
constructorTest() - Method in class org.opentrafficsim.road.gtu.perception.HeadwayGTUTest
Test the constructor and the getters.
ContourPlotModel - Class in org.opentrafficsim.graphs
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ContourPlotModel() - Constructor for class org.opentrafficsim.graphs.ContourPlotModel
 
ContourPlotTest - Class in org.opentrafficsim.graphs
Test the non-GUI part of the ContourPlot class.
ContourPlotTest() - Constructor for class org.opentrafficsim.graphs.ContourPlotTest
 
contourTest() - Method in class org.opentrafficsim.road.network.lane.LaneTest
Test that the contour of a constructed lane covers the expected area.
create() - Static method in class org.opentrafficsim.road.DefaultTestParameters
Returns a default set of behavioral characteristics.
CurveTest - Class in org.opentrafficsim.road.network.lane
Verify that GTUs register and unregister at the correct times and locations when following a curve.
CurveTest() - Constructor for class org.opentrafficsim.road.network.lane.CurveTest
 
curveTest() - Method in class org.opentrafficsim.road.network.lane.CurveTest
Let GTUs drive through a curve and check (de-)registration times at each node.

D

DefaultTestParameters - Class in org.opentrafficsim.road
Creator of set of behavioral characteristics with default values.
densityContourTest() - Method in class org.opentrafficsim.graphs.ContourPlotTest
Test the DensityContourPlot.
DummyModel - Class in org.opentrafficsim.road.gtu
Dummy OTSModelInterface.
DummyModel() - Constructor for class org.opentrafficsim.road.gtu.DummyModel
 
DummyModelForSensorTest - Class in org.opentrafficsim.road.network.lane
Dummy OTSModelInterface.
DummyModelForSensorTest() - Constructor for class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
 
DummyModelForTemplateGTUTest - Class in org.opentrafficsim.road.gtu
Dummy OTSModelInterface.
DummyModelForTemplateGTUTest() - Constructor for class org.opentrafficsim.road.gtu.DummyModelForTemplateGTUTest
 

E

equalsAndHashCodeTest() - Method in class org.opentrafficsim.road.VerifyRequiredMethods
Check that all classes that implement equals also implement hashCode.

F

flowContourTest() - Method in class org.opentrafficsim.graphs.ContourPlotTest
Test the FlowContourPlot.
FundamentalDiagramPlotTest - Class in org.opentrafficsim.graphs
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
FundamentalDiagramPlotTest() - Constructor for class org.opentrafficsim.graphs.FundamentalDiagramPlotTest
 
fundamentalDiagramTest() - Method in class org.opentrafficsim.graphs.FundamentalDiagramPlotTest
Test the FundamentalDiagram.

G

getNetwork() - Method in class org.opentrafficsim.graphs.ContourPlotModel
getNetwork() - Method in class org.opentrafficsim.graphs.FundamentalDiagramPlotTest
getNetwork() - Method in class org.opentrafficsim.road.car.CarTest.Model
getNetwork() - Method in class org.opentrafficsim.road.gtu.DummyModel
getNetwork() - Method in class org.opentrafficsim.road.gtu.DummyModelForTemplateGTUTest
getNetwork() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
getNetwork() - Method in class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
getNetwork() - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
getNetwork() - Method in class org.opentrafficsim.road.gtu.Model
getNetwork() - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
getResources(Pattern) - Static method in class org.opentrafficsim.road.ClassList
For all elements of java.class.path get a Collection of resources Pattern pattern = Pattern.compile(".*"); gets all resources.
getSimulator() - Method in class org.opentrafficsim.graphs.ContourPlotModel
getSimulator() - Method in class org.opentrafficsim.graphs.FundamentalDiagramPlotTest
getSimulator() - Method in class org.opentrafficsim.road.car.CarTest.Model
getSimulator() - Method in class org.opentrafficsim.road.gtu.DummyModel
getSimulator() - Method in class org.opentrafficsim.road.gtu.DummyModelForTemplateGTUTest
getSimulator() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
getSimulator() - Method in class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
getSimulator() - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
getSimulator() - Method in class org.opentrafficsim.road.gtu.Model
getSimulator() - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
GTUFollowingModelTest - Class in org.opentrafficsim.road.gtu.following
Test the methods that the classes that implement GTUFollowingModel have in common.
GTUFollowingModelTest() - Constructor for class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
 

H

hasNonStaticFields(Class<?>) - Static method in class org.opentrafficsim.road.ClassList
Report if a class has non-static fields.
HeadwayGTUTest - Class in org.opentrafficsim.road.gtu.perception
Test the HeadwayGTU class and the EnumType in the Headway interface.
HeadwayGTUTest() - Constructor for class org.opentrafficsim.road.gtu.perception.HeadwayGTUTest
 

I

IDMPlusTest - Class in org.opentrafficsim.road.gtu.following
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
IDMPlusTest() - Constructor for class org.opentrafficsim.road.gtu.following.IDMPlusTest
 
IDMPlusTestModel - Class in org.opentrafficsim.road.gtu.following
Simulation model for IDMPlusTest.
IDMPlusTestModel() - Constructor for class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
 
isAnonymousInnerClass(Class<?>) - Static method in class org.opentrafficsim.road.ClassList
Determine if a class is an anonymous inner class.

L

LaneBasedGTUTest - Class in org.opentrafficsim.road.gtu
Test the LaneBasedGTU class.
LaneBasedGTUTest() - Constructor for class org.opentrafficsim.road.gtu.LaneBasedGTUTest
 
LaneBasedStrategicalRoutePlannerTest - Class in org.opentrafficsim.road.gtu.strategical
Test the LaneBasedStrategicalRoutePlanner class.
LaneBasedStrategicalRoutePlannerTest() - Constructor for class org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalRoutePlannerTest
 
LaneBasedTemplateGTUTypeTest - Class in org.opentrafficsim.road.gtu
Test the TemplateGTUType class.
LaneBasedTemplateGTUTypeTest() - Constructor for class org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest
 
LaneChangeModelTest - Class in org.opentrafficsim.road.gtu.lane.changing
Test some very basic properties of lane change models.
LaneChangeModelTest() - Constructor for class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
 
laneConstructorTest() - Method in class org.opentrafficsim.road.network.lane.LaneTest
Test the constructor.
LaneTest - Class in org.opentrafficsim.road.network.lane
Test the Lane class.
LaneTest() - Constructor for class org.opentrafficsim.road.network.lane.LaneTest
 
leaderFollowerAndParallelTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
Test the leader, follower and parallel methods.
LinkLocationTest - Class in org.opentrafficsim.road.network
Test the LinkLocation class.
LinkLocationTest() - Constructor for class org.opentrafficsim.road.network.LinkLocationTest
 
linkLocationTest() - Method in class org.opentrafficsim.road.network.LinkLocationTest
Test constructor and verify all getters.

M

main(String[]) - Static method in class org.opentrafficsim.graphs.ContourPlotTest
Run the DensityContourPlot stand-alone for profiling.
main(String[]) - Static method in class org.opentrafficsim.road.ClassList
List the resources that match args[0], or a fixed pattern to demonstrate the use of this class.
main(String[]) - Static method in class org.opentrafficsim.road.gtu.perception.VerifyPerceptionCategoryMethods
 
makeLane(Network, LaneType) - Static method in class org.opentrafficsim.road.car.CarTest
 
makeMultiLane(Network, String, OTSNode, OTSNode, LaneType, int) - Static method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
Create a simple straight road with the specified number of Lanes.
makeReferenceCar(String, GTUType, Lane, Length, Speed, OTSDEVSSimulator, GTUFollowingModelOld, LaneChangeModel, OTSNetwork) - Static method in class org.opentrafficsim.road.car.CarTest
Create a new Car.
makeSimulator() - Static method in class org.opentrafficsim.road.car.CarTest
Create the simplest possible simulator.
Model() - Constructor for class org.opentrafficsim.road.car.CarTest.Model
 
Model - Class in org.opentrafficsim.road.gtu
 
Model() - Constructor for class org.opentrafficsim.road.gtu.Model
 

N

nextLinkDirectionTest() - Method in class org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalRoutePlannerTest
Test the nextLinkDirection method.
notify(EventInterface) - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest

O

org.opentrafficsim.graphs - package org.opentrafficsim.graphs
 
org.opentrafficsim.road - package org.opentrafficsim.road
 
org.opentrafficsim.road.car - package org.opentrafficsim.road.car
 
org.opentrafficsim.road.gtu - package org.opentrafficsim.road.gtu
 
org.opentrafficsim.road.gtu.following - package org.opentrafficsim.road.gtu.following
 
org.opentrafficsim.road.gtu.lane.changing - package org.opentrafficsim.road.gtu.lane.changing
 
org.opentrafficsim.road.gtu.perception - package org.opentrafficsim.road.gtu.perception
Test Perception-related classes.
org.opentrafficsim.road.gtu.strategical - package org.opentrafficsim.road.gtu.strategical
 
org.opentrafficsim.road.network - package org.opentrafficsim.road.network
 
org.opentrafficsim.road.network.lane - package org.opentrafficsim.road.network.lane
 
org.opentrafficsim.road.network.lane.object.sensor - package org.opentrafficsim.road.network.lane.object.sensor
 

P

perceptionCategoryTest() - Method in class org.opentrafficsim.road.gtu.perception.VerifyPerceptionCategoryMethods
Check that all sub-classes of AbstractPerceptionCategory have for data named TestField: testField* property of any type.
printEventList(OTSDEVSSimulatorInterface) - Method in class org.opentrafficsim.road.network.lane.CurveTest
Print all scheduled events of an OTSDEVSSimulatorInterface.
printMatrix(ContourPlot, int, int, int, int) - Static method in class org.opentrafficsim.graphs.ContourPlotTest
Debugging method.

S

sampleInterval - Variable in class org.opentrafficsim.graphs.TrajectoryPlotTest
Sample interval for the TrajectoryPlot.
SensorTest - Class in org.opentrafficsim.road.network.lane
Test sensors and scheduling of trigger.
SensorTest() - Constructor for class org.opentrafficsim.road.network.lane.SensorTest
 
sensorTest() - Method in class org.opentrafficsim.road.network.lane.SensorTest
Test the constructors of SensorLaneEnd and SensorLaneStart.
serializableTest() - Method in class org.opentrafficsim.road.VerifyRequiredMethods
Check that all classes implement the Serializable interface.
setSimulator(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.DummyModel
Register the simulator.
setSimulator(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.gtu.DummyModelForTemplateGTUTest
Register the simulator.
setSimulator(SimulatorInterface<Time, Duration, OTSSimTimeDouble>) - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
Register the simulator.
speedContourTest() - Method in class org.opentrafficsim.graphs.ContourPlotTest
Test the SpeedContourPlot.
standardContourTests(ContourPlot, Lane, GTUType, double, double) - Static method in class org.opentrafficsim.graphs.ContourPlotTest
Test various properties of a ContourPlot that has no observed data added.

T

testHints() - Method in class org.opentrafficsim.graphs.FundamentalDiagramPlotTest
Test the updateHint method in the PointerHandler.
testIDM() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
Test IDM
testIDMPlus() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
Test IDMPlus
timeAtDistanceTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
Test the deltaTimeForDistance and timeAtDistance methods.
toStringTest() - Method in class org.opentrafficsim.road.VerifyRequiredMethods
Check that all classes have a toString method.
TrafficLightSensorTest - Class in org.opentrafficsim.road.network.lane.object.sensor
Test the TrafficLightSensor class.
TrafficLightSensorTest() - Constructor for class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest
 
trafficLightSensorTest() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest
Test the TrafficLightSensor.
TrajectoryPlotTest - Class in org.opentrafficsim.graphs
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
TrajectoryPlotTest() - Constructor for class org.opentrafficsim.graphs.TrajectoryPlotTest
 
trajectoryTest() - Method in class org.opentrafficsim.graphs.TrajectoryPlotTest
Test the TrajectoryPlot.
triggerResponse(LaneBasedGTU) - Method in class org.opentrafficsim.road.network.lane.TriggerSensor
TriggerSensor - Class in org.opentrafficsim.road.network.lane
 
TriggerSensor(Lane, Length, RelativePosition.TYPE, String, OTSDEVSSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.TriggerSensor
 

V

VerifyPerceptionCategoryMethods - Class in org.opentrafficsim.road.gtu.perception
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
VerifyPerceptionCategoryMethods() - Constructor for class org.opentrafficsim.road.gtu.perception.VerifyPerceptionCategoryMethods
 
VerifyRequiredMethods - Class in org.opentrafficsim.road
Verify that all classes have a toString method (unless the class in non-instantiable, or an enum, or abstract.
VerifyRequiredMethods() - Constructor for class org.opentrafficsim.road.VerifyRequiredMethods
 
A C D E F G H I L M N O P S T V 
Skip navigation links

Copyright © 2014–2017 Delft University of Technology. All rights reserved.