Index

A C D E F G H I L M N O P R S T V 
All Classes and Interfaces|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
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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
CarTest.Model - Class in org.opentrafficsim.road.car
The helper model.
compatibleLaneTypeTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedTemplateGtuTypeTest
Test the isCompatible method.
ConflictTest - Class in org.opentrafficsim.road.network.lane
Test the Conflict class.
constructModel() - Method in class org.opentrafficsim.road.car.CarTest.Model
 
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.TrafficLightDetectorTest.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
Return simulator.
createMock() - Static method in class org.opentrafficsim.road.mock.MockSimulator
Return simulator.
CrossSectionGeometryTest - Class in org.opentrafficsim.road.network.lane
Test CrossSectionGeometry.
CrossSectionGeometryTest() - Constructor for class org.opentrafficsim.road.network.lane.CrossSectionGeometryTest
Constructor.
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.

D

DefaultTestParameters - Class in org.opentrafficsim.road
Creator of set of parameters with default values.
desiredHeadway(Parameters, Speed) - Method in class org.opentrafficsim.road.FixedCarFollowing.FixedCarFollowingModel
 
desiredSpeed(Parameters, SpeedLimitInfo) - Method in class org.opentrafficsim.road.FixedCarFollowing.FixedCarFollowingModel
 
DetectorTest - Class in org.opentrafficsim.road.network.lane
Test detectors and scheduling of trigger.

E

EstimationTest - Class in org.opentrafficsim.road.gtu.perception.categories.neighbors
EstimationTest.

F

FixedCarFollowing - Class in org.opentrafficsim.road
Very simple car-following model factory only for testing.
FixedCarFollowing() - Constructor for class org.opentrafficsim.road.FixedCarFollowing
Constructor.
FixedCarFollowing(Acceleration) - Constructor for class org.opentrafficsim.road.FixedCarFollowing
Constructor.
FixedCarFollowing(Acceleration, Speed, Length) - Constructor for class org.opentrafficsim.road.FixedCarFollowing
Constructor.
FixedCarFollowing.FixedCarFollowingModel - Class in org.opentrafficsim.road
Fixed car-following model.
FixedCarFollowingModel() - Constructor for class org.opentrafficsim.road.FixedCarFollowing.FixedCarFollowingModel
Constructor.
followingAcceleration(Parameters, Speed, SpeedLimitInfo, PerceptionIterable<? extends PerceivedObject>) - Method in class org.opentrafficsim.road.FixedCarFollowing.FixedCarFollowingModel
 

G

GenerateParametersXml - Class in org.opentrafficsim.road
Loops all OTS classes and prints XML lines for all parameters (@code ParameterType) found.
get() - Method in class org.opentrafficsim.road.FixedCarFollowing
 
getLongName() - Method in class org.opentrafficsim.road.FixedCarFollowing.FixedCarFollowingModel
 
getMock() - Method in class org.opentrafficsim.road.mock.MockGtu
Returns mocked GTU.
getName() - Method in class org.opentrafficsim.road.FixedCarFollowing.FixedCarFollowingModel
 
getNetwork() - Method in class org.opentrafficsim.road.car.CarTest.Model
 
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.TrafficLightDetectorTest.Model
 
getParameters(GtuType) - Method in class org.opentrafficsim.road.FixedCarFollowing
 
gtuFractionTest() - Method in class org.opentrafficsim.road.gtu.strategical.od.OdApplierTest
Test fraction.

H

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.

I

InjectionsTest - Class in org.opentrafficsim.road.gtu.generator
InjectionsTest.
intersections(Polygon2d, Polygon2d) - Method in class org.opentrafficsim.road.network.lane.ConflictTest
Find all 2D (ignoring Z) intersections between two OtsLine2d objects.

L

LaneBasedGtuTest - Class in org.opentrafficsim.road.gtu
Test the LaneBasedGtu class.
LaneBasedGtuTest.Model - Class in org.opentrafficsim.road.gtu
The helper model.
LaneBasedTemplateGtuTypeTest - Class in org.opentrafficsim.road.gtu
Test the TemplateGTUType class.
laneChangeInfoTest() - Method in class org.opentrafficsim.road.network.LaneChangeInfoTest
Test to see whether lane change info is correctly delivered by the network.
LaneChangeInfoTest - Class in org.opentrafficsim.road.network
Test for lane change info.
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.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.
LmrsFactoryTest - Class in org.opentrafficsim.road.network.lane.tactical.lmrs
Test written for LmrsFactory with heavy use of ChatGPT.
LmrsFactoryTest() - Constructor for class org.opentrafficsim.road.network.lane.tactical.lmrs.LmrsFactoryTest
 

M

main(String[]) - Static method in class org.opentrafficsim.road.GenerateParametersXml
Prints XML lines for all parameters (@code ParameterType) found.
main(String[]) - Static method in class org.opentrafficsim.road.gtu.perception.VerifyPerceptionCategoryMethods
Main method.
makeLane(RoadNetwork, LaneType, OtsSimulatorInterface) - Static method in class org.opentrafficsim.road.car.CarTest
Makes lane.
makeReferenceCar(String, GtuType, Lane, Length, Speed, RoadNetwork) - 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
Markov correlation test.
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
Constructor.
MockSimulator - Class in org.opentrafficsim.road.mock
MockSimulator.java.
Model(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.road.car.CarTest.Model
Constructor.
Model(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.road.gtu.LaneBasedGtuTest.Model
Constructor.
Model(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.LaneTest.Model
Constructor.
Model(OtsSimulatorInterface) - Constructor for class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightDetectorTest.Model
Constructor.

N

notify(Event) - Method in class org.opentrafficsim.road.network.lane.ConflictTest
 
notify(Event) - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightDetectorTest
 

O

OdApplierTest - Class in org.opentrafficsim.road.gtu.strategical.od
Copyright (c) 2013-2024 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.generator - package org.opentrafficsim.road.gtu.generator
 
org.opentrafficsim.road.gtu.perception - package org.opentrafficsim.road.gtu.perception
Test Perception-related classes.
org.opentrafficsim.road.gtu.perception.categories.neighbors - package org.opentrafficsim.road.gtu.perception.categories.neighbors
 
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
 
org.opentrafficsim.road.network.lane.tactical.lmrs - package org.opentrafficsim.road.network.lane.tactical.lmrs
 

P

PerceivedObjectTest - Class in org.opentrafficsim.road.gtu.perception
Test PerceivedObject.
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.

S

sensorTest() - Method in class org.opentrafficsim.road.network.lane.DetectorTest
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.
StatelessTest - Class in org.opentrafficsim.road.gtu
Tests that all classes that extend Stateless have no non-final or non-static fields.
StatelessTest() - Constructor for class org.opentrafficsim.road.gtu.StatelessTest
Constructor.

T

testConstructor() - Method in class org.opentrafficsim.road.network.lane.ConflictTest
Test the Conflict class.
testConstructor() - Method in class org.opentrafficsim.road.network.lane.CrossSectionGeometryTest
Test constructors.
testEstimation() - Method in class org.opentrafficsim.road.gtu.perception.categories.neighbors.EstimationTest
Test factor estimation and none estimation.
testIdorder() - Method in class org.opentrafficsim.road.gtu.generator.InjectionsTest
Tests whether Injection ids are used even when a GTU is delayed due to a lack of space.
testInjections() - Method in class org.opentrafficsim.road.gtu.generator.InjectionsTest
Test Injections.
testInput() - Method in class org.opentrafficsim.road.gtu.strategical.od.MarkovCorrelationTest
Tests the input tests.
testKinematicsAndOverlap() - Method in class org.opentrafficsim.road.gtu.perception.PerceivedObjectTest
Tests kinematics and overlap.
testRelativeLane() - Method in class org.opentrafficsim.road.gtu.perception.RelativeLaneTest
Test the RelativeLane class.
testStateless() - Method in class org.opentrafficsim.road.gtu.StatelessTest
Tests that classes with @Stateless are stateless.
timeAtDistanceTest() - Method in class org.opentrafficsim.road.gtu.LaneBasedGtuTest
Test the deltaTimeForDistance and timeAtDistance methods.
TrafficLightDetectorTest - Class in org.opentrafficsim.road.network.lane.object.sensor
Test the TrafficLightDetector class.
TrafficLightDetectorTest.Model - Class in org.opentrafficsim.road.network.lane.object.sensor
The helper model.
trafficLightSensorTest() - Method in class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightDetectorTest
Test the TrafficLightSensor.

V

VerifyPerceptionCategoryMethods - Class in org.opentrafficsim.road.gtu.perception
Verifies methods in perception categories.
A C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages