Skip navigation links
A C D E 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.
autoPauseSimulator() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
Executed as scheduled event.

C

CarTest - Class in org.opentrafficsim.road.car
Copyright (c) 2013-2019 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.
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() - Method in class org.opentrafficsim.road.car.CarTest.Model
constructModel() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest.Model
constructModel() - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
constructModel() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest.Model
constructModel() - Method in class org.opentrafficsim.road.network.lane.LaneTest.Model
constructModel() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest.Model
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.
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 parameters.
createMock() - Static method in class org.opentrafficsim.road.mock.MockDEVSSimulator
 
createMock() - Static method in class org.opentrafficsim.road.mock.MockSimulator
 
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 parameters with default values.

E

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

G

getMock() - Method in class org.opentrafficsim.road.mock.MockGTU
 
getNetwork() - Method in class org.opentrafficsim.road.car.CarTest.Model
getNetwork() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest.Model
getNetwork() - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
getNetwork() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest.Model
getNetwork() - Method in class org.opentrafficsim.road.network.lane.LaneTest.Model
getNetwork() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest.Model
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.
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
 
GTUFollowingModelTest.Model - Class in org.opentrafficsim.road.gtu.following
The helper model.
gtuFractionTest() - Method in class org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
 

H

hasNonStaticFields(Class<?>) - Static method in class org.opentrafficsim.road.ClassList
Report if a class has non-static fields.
headwayGeneratorTest() - Method in class org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
Test whether correct headways and frequencies are calculated.
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-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
IDMPlusTest() - Constructor for class org.opentrafficsim.road.gtu.following.IDMPlusTest
 
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
 
LaneBasedGTUTest.Model - Class in org.opentrafficsim.road.gtu
The helper model.
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
 
LaneTest.Model - Class in org.opentrafficsim.road.network.lane
The helper model.
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.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, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.car.CarTest
 
makeMultiLane(Network, String, OTSNode, OTSNode, LaneType, int, OTSSimulatorInterface) - 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, OTSSimulatorInterface, 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.
MarkovCorrelationTest - Class in org.opentrafficsim.road.gtu.strategical.od
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
MarkovCorrelationTest() - Constructor for class org.opentrafficsim.road.gtu.strategical.od.MarkovCorrelationTest
 
MockDEVSSimulator - Class in org.opentrafficsim.road.mock
MockSimulator.java.
MockGTU - Class in org.opentrafficsim.road.mock
MockGTU.java.
MockGTU(String) - Constructor for class org.opentrafficsim.road.mock.MockGTU
 
MockSimulator - Class in org.opentrafficsim.road.mock
MockSimulator.java.
Model(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.car.CarTest.Model
 
Model(OTSSimulatorInterface, OTSNetwork) - Constructor for class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest.Model
 
Model(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.gtu.LaneBasedGTUTest.Model
 
Model(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.LaneTest.Model
 
Model(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest.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

ODApplierTest - Class in org.opentrafficsim.road.gtu.strategical.od
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ODApplierTest() - Constructor for class org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
Constructor.
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.gtu.strategical.od - package org.opentrafficsim.road.gtu.strategical.od
 
org.opentrafficsim.road.mock - package org.opentrafficsim.road.mock
 
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(DEVSSimulatorInterface.TimeDoubleUnit) - Method in class org.opentrafficsim.road.network.lane.CurveTest
Print all scheduled events of an DEVSSimulatorInterface.TimeDoubleUnit.
probabilityTest() - Method in class org.opentrafficsim.road.gtu.strategical.od.MarkovCorrelationTest
Tests whether the right probabilities result.

S

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.

T

testIDM() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
Test IDM.
testIDMPlus() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest
Test IDMPlus.
testInput() - Method in class org.opentrafficsim.road.gtu.strategical.od.MarkovCorrelationTest
Tests the input tests.
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.
TrafficLightSensorTest.Model - Class in org.opentrafficsim.road.network.lane.object.sensor
The helper model.

V

VerifyPerceptionCategoryMethods - Class in org.opentrafficsim.road.gtu.perception
Copyright (c) 2013-2019 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 G H I L M N O P S T V 
Skip navigation links

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