A C D E G H I L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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.
- 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
- autoPauseSimulator() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
-
Executed as scheduled event.
C
- carTest() - Method in class org.opentrafficsim.road.car.CarTest
-
Test some basics of the Car class.
- CarTest - Class in org.opentrafficsim.road.car
-
Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- CarTest() - Constructor for class org.opentrafficsim.road.car.CarTest
- 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(String, boolean) - Static method in class org.opentrafficsim.road.ClassList
-
Return a List of all the classes under a package.
- 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. - clone(CrossSectionElement, OTSSimulatorInterface) - 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.
- ConflictTest - Class in org.opentrafficsim.road.network.lane
-
Test the Conflict class.
- ConflictTest() - Constructor for class org.opentrafficsim.road.network.lane.ConflictTest
- constructModel() - Method in class org.opentrafficsim.road.car.CarTest.Model
- constructModel() - Method in class org.opentrafficsim.road.gtu.DummyModel
- constructModel() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest.Model
- constructModel() - Method in class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
- 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.gtu.LaneBasedTemplateGTUTypeTest.DummyModelForTemplateGTUTest
- constructModel() - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
- 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() - Method in class org.opentrafficsim.road.network.lane.CurveTest
-
Let GTUs drive through a curve and check (de-)registration times at each node.
- 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
D
- DefaultTestParameters - Class in org.opentrafficsim.road
-
Creator of set of parameters with default values.
- DummyModel - Class in org.opentrafficsim.road.gtu
-
Dummy OTSModelInterface.
- DummyModel(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.gtu.DummyModel
- DummyModelForSensorTest - Class in org.opentrafficsim.road.network.lane
-
Dummy OTSModelInterface.
- DummyModelForSensorTest(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
- DummyModelForTemplateGTUTest(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest.DummyModelForTemplateGTUTest
E
- equalsAndHashCodeTest() - Method in class org.opentrafficsim.road.VerifyRequiredMethods
-
Check that all classes that implement equals also implement hashCode.
G
- getEvents() - Method in class org.opentrafficsim.road.network.lane.LaneTest.Listener
-
Retrieve the collected events.
- getLongitudinalPosition() - Method in class org.opentrafficsim.road.network.lane.LaneTest.MockLaneBasedObject
-
Retrieve the position of the mocked sensor.
- getLongitudinalPosition() - Method in class org.opentrafficsim.road.network.lane.LaneTest.MockSensor
-
Retrieve the position of the mocked sensor.
- getMock() - Method in class org.opentrafficsim.road.mock.MockGTU
- getMock() - Method in class org.opentrafficsim.road.network.lane.LaneTest.MockLaneBasedObject
-
Retrieve the mocked LaneBasedObject.
- getMock() - Method in class org.opentrafficsim.road.network.lane.LaneTest.MockSensor
-
Retrieve the mocked sensor.
- 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.following.GTUFollowingModelTest.Model
- 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.LaneBasedGTUTest.Model
- getNetwork() - Method in class org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest.DummyModelForTemplateGTUTest
- getNetwork() - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
- getNetwork() - Method in class org.opentrafficsim.road.network.lane.LaneTest.Model
- getNetwork() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest.Model
- getReplication() - Method in class org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
-
Returns the replication.
- 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.road.gtu.strategical.od.ODApplierTest
-
Returns the simulator.
- getSourceId() - Method in class org.opentrafficsim.road.car.CarTest.Model
- getSourceId() - Method in class org.opentrafficsim.road.gtu.DummyModel
- getSourceId() - Method in class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest.Model
- getSourceId() - Method in class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
- getSourceId() - Method in class org.opentrafficsim.road.gtu.lane.changing.LaneChangeModelTest
- getSourceId() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest.Model
- getSourceId() - Method in class org.opentrafficsim.road.gtu.LaneBasedTemplateGTUTypeTest.DummyModelForTemplateGTUTest
- getSourceId() - Method in class org.opentrafficsim.road.network.lane.DummyModelForSensorTest
- getSourceId() - Method in class org.opentrafficsim.road.network.lane.LaneTest.Model
- getSourceId() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest.Model
- getStream() - Method in class org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
-
Returns the set random number stream.
- getTime() - Method in class org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
-
Returns the set simulation time.
- 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-2022 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(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.gtu.following.IDMPlusTestModel
- intersections(OTSLine3D, OTSLine3D) - Method in class org.opentrafficsim.road.network.lane.ConflictTest
-
Find all 2D (ignoring Z) intersections between two OTSLine3D objects.
- 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
- LaneBasedTemplateGTUTypeTest.DummyModelForTemplateGTUTest - Class in org.opentrafficsim.road.gtu
-
Dummy OTSModelInterface.
- 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.Listener - Class in org.opentrafficsim.road.network.lane
-
Simple event listener that collects events in a list.
- LaneTest.MockLaneBasedObject - Class in org.opentrafficsim.road.network.lane
-
Mock a LaneBasedObject.
- LaneTest.MockSensor - Class in org.opentrafficsim.road.network.lane
-
Mock a SingleSensor.
- LaneTest.Model - Class in org.opentrafficsim.road.network.lane
-
The helper model.
- lateralOffsetTest() - Method in class org.opentrafficsim.road.network.lane.LaneTest
-
Test that gradually varying lateral offsets have gradually increasing angles (with respect to the design line) in the first half and gradually decreasing angles in the second half.
- leaderFollowerAndParallelTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
-
Test the leader, follower and parallel methods.
- linkLocationTest() - Method in class org.opentrafficsim.road.network.LinkLocationTest
-
Test constructor and verify all getters.
- LinkLocationTest - Class in org.opentrafficsim.road.network
-
Test the LinkLocation class.
- LinkLocationTest() - Constructor for class org.opentrafficsim.road.network.LinkLocationTest
- Listener() - Constructor for class org.opentrafficsim.road.network.lane.LaneTest.Listener
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(OTSRoadNetwork, LaneType, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.car.CarTest
- makeMultiLane(OTSRoadNetwork, String, OTSRoadNode, OTSRoadNode, 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, OTSRoadNetwork) - 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-2022 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
- MockLaneBasedObject(String, Length) - Constructor for class org.opentrafficsim.road.network.lane.LaneTest.MockLaneBasedObject
-
Construct a new Mocked SingleSensor.
- MockSensor(String, Length) - Constructor for class org.opentrafficsim.road.network.lane.LaneTest.MockSensor
-
Construct a new Mocked SingleSensor.
- MockSimulator - Class in org.opentrafficsim.road.mock
-
MockSimulator.java.
- Model(OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.car.CarTest.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
- Model(OTSSimulatorInterface, OTSRoadNetwork) - Constructor for class org.opentrafficsim.road.gtu.following.GTUFollowingModelTest.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.ConflictTest
- notify(EventInterface) - Method in class org.opentrafficsim.road.network.lane.LaneTest.Listener
- 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-2022 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(OTSSimulatorInterface) - Method in class org.opentrafficsim.road.network.lane.CurveTest
-
Print all scheduled events of an OTSSimulatorInterface.
- probabilityTest() - Method in class org.opentrafficsim.road.gtu.strategical.od.MarkovCorrelationTest
-
Tests whether the right probabilities result.
R
- RelativeLaneTest - Class in org.opentrafficsim.road.gtu.perception
-
Test the RelativeLane class.
- RelativeLaneTest() - Constructor for class org.opentrafficsim.road.gtu.perception.RelativeLaneTest
S
- sensorTest() - Method in class org.opentrafficsim.road.network.lane.SensorTest
-
Test the constructors of SensorLaneEnd and SensorLaneStart.
- sensorTest(Lane) - Method in class org.opentrafficsim.road.network.lane.LaneTest
-
Add/Remove some sensor to/from a lane and see if the expected events occur.
- SensorTest - Class in org.opentrafficsim.road.network.lane
-
Test sensors and scheduling of trigger.
- SensorTest() - Constructor for class org.opentrafficsim.road.network.lane.SensorTest
- serializableTest() - Method in class org.opentrafficsim.road.VerifyRequiredMethods
-
Check that all classes implement the Serializable interface.
T
- testConstructor() - Method in class org.opentrafficsim.road.network.lane.ConflictTest
-
Test the Conflict class.
- 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.
- testRelativeLane() - Method in class org.opentrafficsim.road.gtu.perception.RelativeLaneTest
-
] Test the RelativeLane class.
- timeAtDistanceTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedGTUTest
-
Test the deltaTimeForDistance and timeAtDistance methods.
- toString() - Method in class org.opentrafficsim.road.network.lane.LaneTest.MockLaneBasedObject
- toString() - Method in class org.opentrafficsim.road.network.lane.LaneTest.MockSensor
- toStringTest() - Method in class org.opentrafficsim.road.VerifyRequiredMethods
-
Check that all classes have a toString method.
- trafficLightSensorTest() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensorTest
-
Test the TrafficLightSensor.
- 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.Model - Class in org.opentrafficsim.road.network.lane.object.sensor
-
The helper model.
- 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, OTSSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.TriggerSensor
V
- VerifyPerceptionCategoryMethods - Class in org.opentrafficsim.road.gtu.perception
-
Copyright (c) 2013-2022 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
All Classes All Packages