Serialized Form
-
Package org.opentrafficsim.road.gtu.generator
-
Class org.opentrafficsim.road.gtu.generator.LaneBasedGtuGenerator
class LaneBasedGtuGenerator extends org.djutils.event.LocalEventProducer implements Serializable- serialVersionUID:
- 20160000L
-
Serialized Fields
-
disabled
Set<Lane> disabled
Vehicle generation is ignored on these lanes. -
errorHandler
GtuErrorHandler errorHandler
GTU error handler. -
firstCharacteristicsDrawn
boolean firstCharacteristicsDrawn
This enables to check whether idsInCharacteristicsOrder can still be set. -
generatedGTUs
long generatedGTUs
Total number of GTUs generated so far. -
generatorPositions
GeneratorPositions generatorPositions
Location provider for all generated GTUs. -
id
String id
Name of the GTU generator. -
idGenerator
Supplier<String> idGenerator
ID generator. -
idsInCharacteristicsOrder
boolean idsInCharacteristicsOrder
Order of GTU ids. Default is in order of successful generation. Otherwise its in order of characteristics drawing. -
instantaneousLaneChange
boolean instantaneousLaneChange
Whether GTUs change lane instantaneously. -
interarrivelTimeGenerator
Generator<org.djunits.value.vdouble.scalar.Duration> interarrivelTimeGenerator
Time distribution that determines the interval times between GTUs. -
laneBasedGtuCharacteristicsGenerator
LaneBasedGtuCharacteristicsGenerator laneBasedGtuCharacteristicsGenerator
Generates most properties of the GTUs. -
network
RoadNetwork network
Network. -
noLaneChangeDistance
org.djunits.value.vdouble.scalar.Length noLaneChangeDistance
Initial distance over which lane changes shouldn't be performed. -
reTryInterval
org.djunits.value.vdouble.scalar.Duration reTryInterval
Retry interval for checking if a GTU can be placed. -
roomChecker
LaneBasedGtuGenerator.RoomChecker roomChecker
The way that this generator checks if it is safe to construct and place the next lane based GTU. -
simulator
OtsSimulatorInterface simulator
Simulator. -
uniqueId
String uniqueId
Unique id in the network. -
unplacedIds
Map<LaneBasedGtuCharacteristics,
String> unplacedIds Map of ids drawn at time of GTU characteristics drawing, if idsInCharacteristicsOrder = true. -
unplacedTemplates
Map<CrossSectionLink,
Map<GeneratorPositions.GeneratorLanePosition, Queue<org.opentrafficsim.base.TimeStampedObject<LaneBasedGtuCharacteristics>>>> unplacedTemplates FIFO for templates that have not been generated yet due to insufficient room/headway, per position, and per link.
-
-
-
Package org.opentrafficsim.road.gtu.generator.characteristics
-
Class org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGtuCharacteristics
class LaneBasedGtuCharacteristics extends GtuCharacteristics implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
destination
Node destination
Destination. -
origin
Node origin
Origin. -
route
Route route
Route. -
strategicalPlannerFactory
LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactory
The strategical planner factory. -
vehicleModel
VehicleModel vehicleModel
Vehicle model.
-
-
Class org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGtuTemplate
class LaneBasedGtuTemplate extends GtuTemplate implements Serializable- serialVersionUID:
- 20160101L
-
Serialized Fields
-
routeGenerator
Generator<Route> routeGenerator
Route Generator. -
strategicalPlannerFactory
LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactory
Factory for the strategical planner.
-
-
Class org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGtuTemplateDistribution
class LaneBasedGtuTemplateDistribution extends Object implements Serializable- serialVersionUID:
- 20160000L
-
Serialized Fields
-
distribution
Distribution<LaneBasedGtuTemplate> distribution
The Distribution of lane based template GTU types.
-
-
-
Package org.opentrafficsim.road.gtu.lane
-
Class org.opentrafficsim.road.gtu.lane.AbstractLaneBasedMoveChecker
class AbstractLaneBasedMoveChecker extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
network
Network network
Network.
-
-
Class org.opentrafficsim.road.gtu.lane.AccelerationChecker
class AccelerationChecker extends AbstractLaneBasedMoveChecker implements Serializable-
Serialized Fields
-
max
org.djunits.value.vdouble.scalar.Acceleration max
Maximum allowable acceleration. -
min
org.djunits.value.vdouble.scalar.Acceleration min
Minimum allowable acceleration. -
minSpeed
org.djunits.value.vdouble.scalar.Speed minSpeed
Speed above which acceleration should be checked.
-
-
-
Class org.opentrafficsim.road.gtu.lane.CollisionDetector
class CollisionDetector extends AbstractLaneBasedMoveChecker implements Serializable -
Exception org.opentrafficsim.road.gtu.lane.CollisionException
class CollisionException extends RuntimeException implements Serializable- serialVersionUID:
- 20150217L
-
Class org.opentrafficsim.road.gtu.lane.LaneBasedGtu
class LaneBasedGtu extends Gtu implements Serializable- serialVersionUID:
- 20140822L
-
Serialized Fields
-
cachedCarFollowingAcceleration
org.djunits.value.vdouble.scalar.Acceleration cachedCarFollowingAcceleration
Cached car-following acceleration. -
cachedDesiredSpeed
org.djunits.value.vdouble.scalar.Speed cachedDesiredSpeed
Cached desired speed. -
cachedPositions
org.djutils.multikeymap.MultiKeyMap<org.djunits.value.vdouble.scalar.Length> cachedPositions
caching of last stored position(s). -
cachedReferencePosition
LanePosition cachedReferencePosition
Cached reference position. -
cacheOperationalPlan
OperationalPlan cacheOperationalPlan
Caching of operation plan for last stored position(s). -
cachePositionsTime
double cachePositionsTime
Caching of time field for last stored position(s). -
carFollowingAccelerationTime
org.djunits.value.vdouble.scalar.Time carFollowingAccelerationTime
Time car-following acceleration was cached. -
crossSections
HistoricalList<org.opentrafficsim.road.gtu.lane.LaneBasedGtu.CrossSection> crossSections
Lanes. -
desiredSpeedTime
org.djunits.value.vdouble.scalar.Time desiredSpeedTime
Time desired speed was cached. -
finalizeLaneChangeEvent
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<org.djunits.value.vdouble.scalar.Duration> finalizeLaneChangeEvent
Event to finalize lane change. -
instantaneousLaneChange
boolean instantaneousLaneChange
Whether the GTU perform lane changes instantaneously or not. -
lock
Object lock
The object to lock to make the GTU thread safe. -
noLaneChangeDistance
org.djunits.value.vdouble.scalar.Length noLaneChangeDistance
Distance over which the GTU should not change lane after being created. -
pendingEnterTrigger
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<org.djunits.value.vdouble.scalar.Duration> pendingEnterTrigger
Pending enter triggers for each lane. -
pendingLeaveTrigger
nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<org.djunits.value.vdouble.scalar.Duration> pendingLeaveTrigger
Pending leave triggers for each lane. -
referenceLaneIndex
int referenceLaneIndex
Reference lane index (0 = left or only lane, 1 = right lane). -
referencePositionTime
double referencePositionTime
Time of reference position cache. -
sensorEvents
Set<nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<org.djunits.value.vdouble.scalar.Duration>> sensorEvents
Sensor events. -
turnIndicatorStatus
Historical<TurnIndicatorStatus> turnIndicatorStatus
Turn indicator status. -
vehicleModel
VehicleModel vehicleModel
Vehicle model.
-
-
Class org.opentrafficsim.road.gtu.lane.MultiLaneBasedMoveChecker
class MultiLaneBasedMoveChecker extends AbstractLaneBasedMoveChecker implements Serializable-
Serialized Fields
-
checkers
Set<AbstractLaneBasedMoveChecker> checkers
Checkers.
-
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception
-
Class org.opentrafficsim.road.gtu.lane.perception.CategoricalLanePerception
- serialVersionUID:
- 20151128L
-
Serialized Fields
-
laneStructure
LaneStructure laneStructure
Lane structure. -
mental
Mental mental
Mental module.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.GtuTypeAssumptions
class GtuTypeAssumptions extends Object implements Serializable- serialVersionUID:
- 20160527L
-
Serialized Fields
-
carFollowingModelMap
Map<GtuType,
CarFollowingModel> carFollowingModelMap stored car following model of the observed GTU. -
laneTypeSpeedMap
Map<GtuType,
Map<LaneType, org.djunits.value.vdouble.scalar.Speed>> laneTypeSpeedMap stored speed limit info of the observed GTU. -
parametersMap
Map<GtuType,
org.opentrafficsim.base.parameters.Parameters> parametersMap stored parameters of the observed GTU.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.RelativeLane
class RelativeLane extends Object implements Serializable- serialVersionUID:
- 20160502L
-
Serialized Fields
-
rank
int rank
Rank, summarizes both the lateral directionality and the number of lanes. Is zero for CURRENT, otherwise equal to number of lanes for RIGHT, negative number of lanes for LEFT.
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.categories
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.AnticipationTrafficPerception
class AnticipationTrafficPerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20180313L
-
Serialized Fields
-
antFromLeft
Map<RelativeLane,
Double> antFromLeft Anticipated speed by vehicles in the left lane. -
antFromRight
Map<RelativeLane,
Double> antFromRight Anticipated speed by vehicles in the right lane. -
antInLane
Map<RelativeLane,
Double> antInLane Anticipated speed by vehicles in the lane. -
density
Map<RelativeLane,
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.LinearDensity>> density Anticipated density combined. -
lastSpeedTime
org.djunits.value.vdouble.scalar.Time lastSpeedTime
Last time speed was updated. -
speed
Map<RelativeLane,
org.djunits.value.vdouble.scalar.Speed> speed Anticipated speed combined.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectBusStopPerception
class DirectBusStopPerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20170127L
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectDefaultSimplePerception
class DirectDefaultSimplePerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20160811L
-
Serialized Fields
-
accessibleAdjacentLanesLeft
org.opentrafficsim.base.TimeStampedObject<Map<Lane,
Set<Lane>>> accessibleAdjacentLanesLeft The adjacent lanes that are accessible for the GTU at the left side. -
accessibleAdjacentLanesRight
org.opentrafficsim.base.TimeStampedObject<Map<Lane,
Set<Lane>>> accessibleAdjacentLanesRight The adjacent lanes that are accessible for the GTU at the right side. -
backwardHeadway
org.opentrafficsim.base.TimeStampedObject<Headway> backwardHeadway
The backward headway and (follower) object. -
forwardHeadwayGtu
org.opentrafficsim.base.TimeStampedObject<Headway> forwardHeadwayGtu
The forward headway and (leader) GTU. -
forwardHeadwayObject
org.opentrafficsim.base.TimeStampedObject<Headway> forwardHeadwayObject
The forward headway and (leader) object. -
lanePathInfo
org.opentrafficsim.base.TimeStampedObject<LanePathInfo> lanePathInfo
The lanes and path we expect to take if we do not change lanes. -
neighboringHeadwaysLeft
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> neighboringHeadwaysLeft
The GTUs on the left side. -
neighboringHeadwaysRight
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> neighboringHeadwaysRight
The GTUs on the right side. -
parallelHeadwaysLeft
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> parallelHeadwaysLeft
The objects parallel to us on the left side. -
parallelHeadwaysRight
org.opentrafficsim.base.TimeStampedObject<Collection<Headway>> parallelHeadwaysRight
The objects parallel to us on the right side. -
speedLimit
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Speed> speedLimit
The minimum speed limit of all lanes where the GTU is registered.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectInfrastructurePerception
class DirectInfrastructurePerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20160811L
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectIntersectionPerception
class DirectIntersectionPerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20160811L
-
Serialized Fields
-
headwayGtuType
HeadwayGtuType headwayGtuType
Headway GTU type that should be used.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.WienerProcess
class WienerProcess extends nl.tudelft.simulation.jstats.distributions.DistNormal implements Serializable- serialVersionUID:
- 20181018L
-
Serialized Fields
-
muW
double muW
Mean. -
prevTime
org.djunits.value.vdouble.scalar.Time prevTime
Time the value was determined. -
sigmaW
double sigmaW
Standard deviation. -
simulator
OtsSimulatorInterface simulator
Simulator. -
tau
org.djunits.value.vdouble.scalar.Duration tau
Correlation time. -
value
Double value
Value of the standard Wiener process (mu = 0, sigma = 1).
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.categories.neighbors
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.neighbors.CaccPerception
class CaccPerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20190312L
-
Serialized Fields
-
sensors
HeadwayGtuType sensors
Onboard sensors in the form of a headway GTU type.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.neighbors.DirectNeighborsPerception
class DirectNeighborsPerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20160811L
-
Serialized Fields
-
headwayGtuType
HeadwayGtuType headwayGtuType
Headway GTU type that should be used.
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.headway
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadway
class AbstractHeadway extends Object implements Serializable- serialVersionUID:
- 20170324L
-
Serialized Fields
-
distance
org.djunits.value.vdouble.scalar.Length distance
The (perceived) distance to the other object. When objects are parallel, the distance is null. -
overlap
org.djunits.value.vdouble.scalar.Length overlap
The (perceived) overlap with the other object. This value should be null if there is no overlap. In the figure below for two GTUs, it is distance b, positive for GTU1 and GTU2.---------- | GTU 1 | -----> ---------- --------------- | GTU 2 | -----> --------------- | a | b | c |
-
overlapFront
org.djunits.value.vdouble.scalar.Length overlapFront
The (perceived) front overlap to the other object. This value should be null if there is no overlap. In the figure below for two GTUs, it is distance c, positive for GTU1, negative for GTU2.---------- | GTU 1 | -----> ---------- --------------- | GTU 2 | -----> --------------- | a | b | c |
-
overlapRear
org.djunits.value.vdouble.scalar.Length overlapRear
The (perceived) rear overlap to the other object. This value should be null if there is no overlap. In the figure below for two GTUs, it is distance a, positive for GTU1, negative for GTU2.---------- | GTU 1 | -----> ---------- --------------- | GTU 2 | -----> --------------- | a | b | c |
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayCopy
class AbstractHeadwayCopy extends AbstractHeadway implements Serializable- serialVersionUID:
- 20160410L
-
Serialized Fields
-
acceleration
org.djunits.value.vdouble.scalar.Acceleration acceleration
The (perceived) acceleration of the other object. Can be null if unknown. -
id
String id
The id of the other object for comparison purposes, cannot be null. -
length
org.djunits.value.vdouble.scalar.Length length
The (perceived) length of the other object. Can be null if unknown. -
objectType
Headway.ObjectType objectType
The object type. -
speed
org.djunits.value.vdouble.scalar.Speed speed
The (perceived) speed of the other object. v>0 seen from driver chair. Can be null if unknown.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayGtu
class AbstractHeadwayGtu extends AbstractHeadwayCopy implements Serializable- serialVersionUID:
- 20160410L
-
Serialized Fields
-
desiredSpeed
org.djunits.value.vdouble.scalar.Speed desiredSpeed
Perceived desired speed. -
facingSameDirection
boolean facingSameDirection
Whether the GTU is facing the same direction. -
gtuStatus
EnumSet<GtuStatus> gtuStatus
The observable characteristics of the GTU. -
gtuType
GtuType gtuType
The perceived GTU Type, or null if unknown. -
width
org.djunits.value.vdouble.scalar.Length width
Perceived width.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayLaneBasedObject
class AbstractHeadwayLaneBasedObject extends AbstractHeadwayCopy implements Serializable- serialVersionUID:
- 20190515L
-
Serialized Fields
-
lane
Lane lane
Lane.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayBusStop
class HeadwayBusStop extends AbstractHeadwayLaneBasedObject implements Serializable- serialVersionUID:
- 20170127L
-
Serialized Fields
-
conflictIds
Set<String> conflictIds
Conflicts downstream of the bus stop. -
lines
org.djutils.immutablecollections.ImmutableSet<String> lines
Lines. -
relativeLane
RelativeLane relativeLane
Relative lane.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayConflict
class HeadwayConflict extends AbstractHeadwayLaneBasedObject implements Serializable- serialVersionUID:
- 20160602L
-
Serialized Fields
-
conflictingLength
org.djunits.value.vdouble.scalar.Length conflictingLength
Length of the conflict in the conflicting directions. -
conflictingLink
CrossSectionLink conflictingLink
Link of conflicting conflict. -
conflictingSpeedLimit
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit
Speed limit on the conflicting lane. -
conflictingStopLine
HeadwayStopLine conflictingStopLine
Stop line on the conflicting lane. -
conflictingTrafficLightDistance
org.djunits.value.vdouble.scalar.Length conflictingTrafficLightDistance
Distance of traffic light upstream on conflicting lane. -
conflictingVisibility
org.djunits.value.vdouble.scalar.Length conflictingVisibility
Visibility on the conflicting lane within which conflicting vehicles are visible. -
conflictPriority
ConflictPriority conflictPriority
Conflict priority. -
conflictRuleType
Class<? extends ConflictRule> conflictRuleType
Type of conflict rule. -
conflictType
ConflictType conflictType
Conflict type. -
downstreamConflictingGTUs
PerceptionCollectable<HeadwayGtu,
LaneBasedGtu> downstreamConflictingGTUs Set of conflicting GTU's (partially) downstream of the start of the conflict ordered close to far from the start of conflict. Distance and overlap info concerns the conflict. -
permitted
boolean permitted
Whether the conflict is permitted by the traffic light. -
stopLine
HeadwayStopLine stopLine
Stop line on the own lane. -
upstreamConflictingGTUs
PerceptionCollectable<HeadwayGtu,
LaneBasedGtu> upstreamConflictingGTUs Set of conflicting GTU's completely upstream of the start of the conflict ordered close to far from the start of the conflict. Distance and overlap info concerns the conflict. -
width
HeadwayConflict.Width width
Width progression of conflict.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayDistance
class HeadwayDistance extends Object implements Serializable- serialVersionUID:
- 20160410L
-
Serialized Fields
-
distance
org.djunits.value.vdouble.scalar.Length distance
the distance of the headway.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuPerceived
class HeadwayGtuPerceived extends HeadwayGtuRealCopy implements Serializable- serialVersionUID:
- 20180405L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuReal
class HeadwayGtuReal extends AbstractHeadway implements Serializable- serialVersionUID:
- 20170324L
-
Serialized Fields
-
facingSameDirection
boolean facingSameDirection
Whether the GTU is facing the same direction. -
gtu
LaneBasedGtu gtu
Wrapped GTU. -
speedLimitInfo
SpeedLimitInfo speedLimitInfo
Stored speed limit info of the observed GTU.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuRealCopy
class HeadwayGtuRealCopy extends AbstractHeadwayGtu implements Serializable- serialVersionUID:
- 20160527L
-
Serialized Fields
-
carFollowingModel
CarFollowingModel carFollowingModel
stored car following model of the observed GTU. -
parameters
org.opentrafficsim.base.parameters.Parameters parameters
stored parameters of the observed GTU. -
route
Route route
stored route of the observed GTU. -
speedLimitInfo
SpeedLimitInfo speedLimitInfo
stored speed limit info of the observed GTU.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuSimple
class HeadwayGtuSimple extends AbstractHeadwayGtu implements Serializable- serialVersionUID:
- 20160527L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGtuType
class HeadwayGtuType extends AbstractHeadwayGtu implements Serializable- serialVersionUID:
- 20160527L
-
Serialized Fields
-
gtuTypeAssumptions
GtuTypeAssumptions gtuTypeAssumptions
a pointer to centrally kept or GTU specific GTUTypeAssumptions.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayObject
class HeadwayObject extends AbstractHeadwayCopy implements Serializable- serialVersionUID:
- 20160410L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayStopLine
class HeadwayStopLine extends AbstractHeadwayLaneBasedObject implements Serializable- serialVersionUID:
- 20160630L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayTrafficLight
class HeadwayTrafficLight extends AbstractHeadwayLaneBasedObject implements Serializable- serialVersionUID:
- 20160410L
-
Serialized Fields
-
trafficLight
TrafficLight trafficLight
the traffic light object for further observation, can not be null. -
turnOnRed
boolean turnOnRed
Whether we can turn on red.
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.mental.sdm
-
Class org.opentrafficsim.road.gtu.lane.perception.mental.sdm.StochasticDistractionModel
class StochasticDistractionModel extends Object implements Serializable-
Serialized Fields
-
allowMultiTasking
boolean allowMultiTasking
Whether to allow multi-tasking. -
distractedGTUs
Set<String> distractedGTUs
Set of distracted GTUs. -
distractionQueues
Map<String,
Queue<Distraction>> distractionQueues Queue of distractions per GTU. -
distractions
List<Distraction> distractions
List of distractions. -
network
RoadNetwork network
Network. -
simulator
OtsSimulatorInterface simulator
Simulator.
-
-
-
-
Package org.opentrafficsim.road.gtu.lane.plan.operational
-
Class org.opentrafficsim.road.gtu.lane.plan.operational.LaneBasedOperationalPlan
class LaneBasedOperationalPlan extends OperationalPlan implements Serializable- serialVersionUID:
- 20160120L
-
Serialized Fields
-
deviative
boolean deviative
Deviative; meaning not along lane center lines.
-
-
Class org.opentrafficsim.road.gtu.lane.plan.operational.LaneChange
class LaneChange extends Object implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
boundary
org.djunits.value.vdouble.scalar.Length boundary
Boundary length within which the lane change should be performed. -
desiredLaneChangeDuration
org.djunits.value.vdouble.scalar.Duration desiredLaneChangeDuration
Total lane change duration. -
fraction
double fraction
Fraction of lane change had. -
laneChangeDirectionality
LateralDirectionality laneChangeDirectionality
Whether the GTU is changing lane. -
laneChangePath
LaneChange.LaneChangePath laneChangePath
Lane change path. -
minimumLaneChangeDistance
org.djunits.value.vdouble.scalar.Length minimumLaneChangeDistance
Minimum lane change distance.
-
-
Class org.opentrafficsim.road.gtu.lane.plan.operational.SimpleOperationalPlan
class SimpleOperationalPlan extends Object implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
acceleration
org.djunits.value.vdouble.scalar.Acceleration acceleration
Acceleration. -
duration
org.djunits.value.vdouble.scalar.Duration duration
Duration of the plan. -
indicatorIntent
TurnIndicatorIntent indicatorIntent
Indicator intent. -
indicatorObjectDistance
org.djunits.value.vdouble.scalar.Length indicatorObjectDistance
Distance to object causing turn indicator intent. -
laneChangeDirection
LateralDirectionality laneChangeDirection
Lane change direction.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical
-
Class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
class AbstractLaneBasedTacticalPlanner extends Object implements Serializable- serialVersionUID:
- 20151125L
-
Serialized Fields
-
carFollowingModel
CarFollowingModel carFollowingModel
The car-following model. -
gtu
LaneBasedGtu gtu
GTU. -
lanePerception
LanePerception lanePerception
The perception.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedCfLcTacticalPlanner
class LaneBasedCfLcTacticalPlanner extends AbstractLaneBasedTacticalPlanner implements Serializable- serialVersionUID:
- 20151125L
-
Serialized Fields
-
laneChangeModel
LaneChangeModel laneChangeModel
Lane change model for this tactical planner.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedCfLcTacticalPlannerFactory
class LaneBasedCfLcTacticalPlannerFactory extends Object implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
carFollowingModel
GtuFollowingModelOld carFollowingModel
The car following model. -
laneChangeModel
LaneChangeModel laneChangeModel
The lane change model.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGtuFollowingTacticalPlanner
class LaneBasedGtuFollowingTacticalPlanner extends AbstractLaneBasedTacticalPlanner implements Serializable- serialVersionUID:
- 20151125L
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGtuFollowingTacticalPlannerFactory
class LaneBasedGtuFollowingTacticalPlannerFactory extends Object implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
carFollowingModel
GtuFollowingModelOld carFollowingModel
The car following model.
-
-
Record Class org.opentrafficsim.road.gtu.lane.tactical.LanePathInfo
class LanePathInfo extends Record implements Serializable- serialVersionUID:
- 20151231L
-
Record Class org.opentrafficsim.road.gtu.lane.tactical.NextSplitInfo
class NextSplitInfo extends Record implements Serializable- serialVersionUID:
- 20151231L
-
Serialized Fields
-
correctCurrentLanes
Set<Lane> correctCurrentLanes
-
nextSplitNode
Node nextSplitNode
-
requiredDirection
LateralDirectionality requiredDirection
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.directedlanechange
-
Class org.opentrafficsim.road.gtu.lane.tactical.directedlanechange.DirectedLaneMovementStep
class DirectedLaneMovementStep extends Object implements Serializable- serialVersionUID:
- 20160400L
-
Serialized Fields
-
accelerationStep
AccelerationStep accelerationStep
The resulting acceleration and duration of validity. -
direction
LateralDirectionality direction
Lane change. This has one of the following values:null: Stay in the current lane LateralDirectionality.LEFT: Move to the Left adjacent lane, as seen from the GTU in forward driving direction LateralDirectionality.RIGHT: Move to the Right adjacent lane, as seen from the GTU in forward driving direction
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.following
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.AccelerationStep
class AccelerationStep extends Object implements Serializable- serialVersionUID:
- 20150000L
-
Serialized Fields
-
acceleration
org.djunits.value.vdouble.scalar.Acceleration acceleration
Acceleration that will be maintained during the current time slot. -
duration
org.djunits.value.vdouble.scalar.Duration duration
Duration of the time step. -
validUntil
org.djunits.value.vdouble.scalar.Time validUntil
Time when the current time slot ends.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.DualAccelerationStep
class DualAccelerationStep extends Object implements Serializable- serialVersionUID:
- 20150311L
-
Serialized Fields
-
followerAccelerationStep
AccelerationStep followerAccelerationStep
AccelerationStep for the (new) follower. -
leaderAccelerationStep
AccelerationStep leaderAccelerationStep
AccelerationStep for the leader.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.FixedAccelerationModel
class FixedAccelerationModel extends AbstractGtuFollowingModelMobil implements Serializable- serialVersionUID:
- 20150206L
-
Serialized Fields
-
acceleration
org.djunits.value.vdouble.scalar.Acceleration acceleration
Acceleration that will be returned in GtuFollowingModelResult by computeAcceleration. -
duration
org.djunits.value.vdouble.scalar.Duration duration
Valid until time that will be returned in GtuFollowingModelResult by computeAcceleration.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.IdmOld
class IdmOld extends AbstractGtuFollowingModelMobil implements Serializable- serialVersionUID:
- 20141119L
-
Serialized Fields
-
a
org.djunits.value.vdouble.scalar.Acceleration a
Maximum longitudinal acceleration [m/s^2]. -
b
org.djunits.value.vdouble.scalar.Acceleration b
Longitudinal deceleration [m/s^2]. (Should be a positive value even though it is a deceleration.) -
delta
double delta
Mean speed limit adherence (1.0: mean free speed equals the speed limit; 1.1: mean speed limit equals 110% of the speed limit, etc.). -
s0
org.djunits.value.vdouble.scalar.Length s0
Preferred net longitudinal distance when stopped [m]. -
tSafe
org.djunits.value.vdouble.scalar.Duration tSafe
Safe time headway.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.IdmPlusOld
class IdmPlusOld extends AbstractGtuFollowingModelMobil implements Serializable- serialVersionUID:
- 20140704L
-
Serialized Fields
-
a
org.djunits.value.vdouble.scalar.Acceleration a
Longitudinal acceleration [m/s^2]. -
b
org.djunits.value.vdouble.scalar.Acceleration b
Longitudinal deceleration [m/s^2]. (Should be a positive value even though it is a deceleration.) -
delta
double delta
Mean speed limit adherence (1.0: mean free speed equals the speed limit; 1.1: mean free speed equals 110% of the speed limit, etc.). -
s0
org.djunits.value.vdouble.scalar.Length s0
Preferred net longitudinal distance when stopped [m]. -
tSafe
org.djunits.value.vdouble.scalar.Duration tSafe
Safe time headway.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.SequentialFixedAccelerationModel
class SequentialFixedAccelerationModel extends AbstractGtuFollowingModelMobil implements Serializable- serialVersionUID:
- 20150206L
-
Serialized Fields
-
maximumSafeDeceleration
org.djunits.value.vdouble.scalar.Acceleration maximumSafeDeceleration
The maximum safe deceleration. -
simulator
OtsSimulatorInterface simulator
The simulator engine. -
steps
List<FixedAccelerationModel> steps
The list of result values of this SequentialFixedAccelerationModel.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil
-
Class org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil.FixedLaneChangeModel
class FixedLaneChangeModel extends Object implements Serializable- serialVersionUID:
- 20150211L
-
Serialized Fields
-
laneChange
LateralDirectionality laneChange
Lane change that will always be returned by this FixedLaneChangeModel.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.lanechangemobil.LaneMovementStep
class LaneMovementStep extends Object implements Serializable- serialVersionUID:
- 20150206L
-
Serialized Fields
-
gfmr
AccelerationStep gfmr
The resulting acceleration and duration of validity. -
laneChange
LateralDirectionality laneChange
Lane change. This has one of the following values:null: Stay in the current lane LateralDirectionality.LEFT: Move to the Left adjacent lane, as seen from the GTU in forward driving direction LateralDirectionality.RIGHT: Move to the Right adjacent lane, as seen from the GTU in forward driving direction
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.lmrs
-
Class org.opentrafficsim.road.gtu.lane.tactical.lmrs.AbstractIncentivesTacticalPlanner
class AbstractIncentivesTacticalPlanner extends AbstractLaneBasedTacticalPlanner implements Serializable- serialVersionUID:
- 20190731L
-
Serialized Fields
-
accelerationIncentives
LinkedHashSet<AccelerationIncentive> accelerationIncentives
Set of acceleration incentives. -
immutableAccelerationIncentives
org.djutils.immutablecollections.ImmutableSet<AccelerationIncentive> immutableAccelerationIncentives
Immutable set of acceleration lane change incentives. -
immutableMandatoryIncentives
org.djutils.immutablecollections.ImmutableSet<MandatoryIncentive> immutableMandatoryIncentives
Immutable set of mandatory lane change incentives. -
immutableVoluntaryIncentives
org.djutils.immutablecollections.ImmutableSet<VoluntaryIncentive> immutableVoluntaryIncentives
Immutable set of voluntary lane change incentives. -
mandatoryIncentives
LinkedHashSet<MandatoryIncentive> mandatoryIncentives
Set of mandatory lane change incentives. -
voluntaryIncentives
LinkedHashSet<VoluntaryIncentive> voluntaryIncentives
Set of voluntary lane change incentives.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.lmrs.Lmrs
class Lmrs extends AbstractIncentivesTacticalPlanner implements Serializable- serialVersionUID:
- 20160300L
-
Serialized Fields
-
laneChange
LaneChange laneChange
Lane change status. -
lmrsData
LmrsData lmrsData
LMRS data.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.lmrs.LmrsFactory
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
accelerationIncentives
Set<AccelerationIncentive> accelerationIncentives
Mandatory incentives. -
cooperation
Cooperation cooperation
Type of cooperation. -
gapAcceptance
GapAcceptance gapAcceptance
Type of gap-acceptance. -
mandatoryIncentives
Set<MandatoryIncentive> mandatoryIncentives
Mandatory incentives. -
synchronization
Synchronization synchronization
Type of synchronization. -
tailgating
Tailgating tailgating
Type of tail gating. -
voluntaryIncentives
Set<VoluntaryIncentive> voluntaryIncentives
Mandatory incentives.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.pt
-
Class org.opentrafficsim.road.gtu.lane.tactical.pt.BusSchedule
class BusSchedule extends Route implements Serializable- serialVersionUID:
- 20170124L
-
Serialized Fields
-
actualDeparturesBusStop
Map<String,
org.djunits.value.vdouble.scalar.Time> actualDeparturesBusStop Map of actual departures stored per bus stop. -
actualDeparturesConflict
Map<String,
org.djunits.value.vdouble.scalar.Time> actualDeparturesConflict Map of actual departures stored per conflict. -
line
String line
Line of the bus schedule. -
schedule
Map<String,
org.opentrafficsim.road.gtu.lane.tactical.pt.BusSchedule.BusStopInfo> schedule List of bus stops.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.toledo
-
Class org.opentrafficsim.road.gtu.lane.tactical.toledo.Toledo
class Toledo extends AbstractLaneBasedTacticalPlanner implements Serializable- serialVersionUID:
- 20160711L
-
Serialized Fields
-
laneChange
LaneChange laneChange
Lane change status.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoPerception
class ToledoPerception extends AbstractPerceptionCategory<LaneBasedGtu,LanePerception> implements Serializable - serialVersionUID:
- 20160000L
-
Serialized Fields
-
infrastructureCategory
DirectInfrastructurePerception infrastructureCategory
Wrapped regular infrastructureCategory. -
infrastructureLaneChangeInfo
Map<RelativeLane,
org.opentrafficsim.base.TimeStampedObject<SortedSet<LaneChangeInfo>>> infrastructureLaneChangeInfo Infrastructure lane change info per relative lane.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.util
-
Record Class org.opentrafficsim.road.gtu.lane.tactical.util.AnticipationInfo
class AnticipationInfo extends Record implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
duration
org.djunits.value.vdouble.scalar.Duration duration
-
endSpeed
org.djunits.value.vdouble.scalar.Speed endSpeed
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.util.CarFollowingUtil.CarFollowingHeadway
class CarFollowingHeadway extends AbstractHeadway implements Serializable- serialVersionUID:
- 20180226L
-
Serialized Fields
-
speed
org.djunits.value.vdouble.scalar.Speed speed
Speed of the leader.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.util.ConflictUtil.ConflictPlans
class ConflictPlans extends Object implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
arrivalTimes
LinkedHashMap<String,
org.djunits.value.vdouble.scalar.Time> arrivalTimes Estimated arrival times of vehicles at all-stop intersection. -
blocking
boolean blocking
Whether the GTU is blocking conflicts. -
indicatorIntent
TurnIndicatorIntent indicatorIntent
Indicator intent. -
indicatorObjectDistance
org.djunits.value.vdouble.scalar.Length indicatorObjectDistance
Distance to object causing turn indicator intent. -
stopPhases
LinkedHashMap<String,
org.opentrafficsim.road.gtu.lane.tactical.util.ConflictUtil.StopPhase> stopPhases Phases of navigating an all-stop intersection per intersection.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.util.lmrs
-
Record Class org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Desire
class Desire extends Record implements Serializable- serialVersionUID:
- 20160413L
-
Serialized Fields
-
left
double left
-
right
double right
-
-
-
Package org.opentrafficsim.road.gtu.strategical
-
Class org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalRoutePlanner
class LaneBasedStrategicalRoutePlanner extends Object implements Serializable- serialVersionUID:
- 20151126L
-
Serialized Fields
-
destination
Node destination
Destination node. -
fixedTacticalPlanner
LaneBasedTacticalPlanner fixedTacticalPlanner
The fixed tactical planner to use for the GTU. -
gtu
LaneBasedGtu gtu
GTU. -
origin
Node origin
Origin node. -
route
Route route
The route to drive. -
routeGenerator
RouteGenerator routeGenerator
Route supplier.
-
-
Class org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalRoutePlannerFactory
class LaneBasedStrategicalRoutePlannerFactory extends Object implements Serializable- serialVersionUID:
- 20160811L
-
Serialized Fields
-
parameterFactory
ParameterFactory parameterFactory
Parameter factory. -
peekedParameters
org.opentrafficsim.base.parameters.Parameters peekedParameters
Peeked parameters. -
routeGenerator
RouteGenerator routeGenerator
Route supplier. -
tacticalPlannerFactory
LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner> tacticalPlannerFactory
Factory for tactical planners.
-
-
-
Package org.opentrafficsim.road.network
-
Class org.opentrafficsim.road.network.RoadNetwork
class RoadNetwork extends Network implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
legalLaneChangeInfoCache
org.djutils.multikeymap.MultiKeyMap<SortedSet<LaneChangeInfo>> legalLaneChangeInfoCache
Cached legal lane change info, over complete length of route. -
legalLaneGraph
Map<GtuType,
org.opentrafficsim.road.network.RoadNetwork.RouteWeightedGraph> legalLaneGraph Cached lane graph for legal connections, per GTU type. -
physicalLaneChangeInfoCache
org.djutils.multikeymap.MultiKeyMap<SortedSet<LaneChangeInfo>> physicalLaneChangeInfoCache
Cached physical lane change info, over complete length of route. -
physicalLaneGraph
org.opentrafficsim.road.network.RoadNetwork.RouteWeightedGraph physicalLaneGraph
Cached lane graph for physical connections.
-
-
-
Package org.opentrafficsim.road.network.factory
-
Class org.opentrafficsim.road.network.factory.PeekStack
- serialVersionUID:
- 20150624L
-
-
Package org.opentrafficsim.road.network.lane
-
Class org.opentrafficsim.road.network.lane.CrossSectionElement
class CrossSectionElement extends org.djutils.event.LocalEventProducer implements Serializable- serialVersionUID:
- 20150826L
-
Serialized Fields
-
bounds
org.opentrafficsim.base.geometry.OtsBounds2d bounds
Bounding box. -
centerLine
OtsLine2d centerLine
The center line of the element. Calculated once at the creation. -
contour
org.djutils.draw.line.Polygon2d contour
The contour of the element. Calculated once at the creation. -
id
String id
The id. Should be unique within the parentLink. -
link
CrossSectionLink link
Cross Section Link to which the element belongs. -
location
org.djutils.draw.point.OrientedPoint2d location
Location, center of contour. -
sliceInfo
SliceInfo sliceInfo
The offsets and widths at positions along the line, relative to the design line of the parent link.
-
-
Class org.opentrafficsim.road.network.lane.CrossSectionLink
class CrossSectionLink extends Link implements Serializable- serialVersionUID:
- 20141015L
-
Serialized Fields
-
crossSectionElementList
List<CrossSectionElement> crossSectionElementList
List of cross-section elements. -
endLine
org.djutils.draw.line.PolyLine2d endLine
Line over which GTUs enter or leave the link at the end node. -
laneKeepingPolicy
LaneKeepingPolicy laneKeepingPolicy
The policy to generally keep left, keep right, or keep lane. -
lanes
List<Lane> lanes
List of lanes. -
priority
CrossSectionLink.Priority priority
Priority. -
shoulders
List<Shoulder> shoulders
List of shoulders. -
startLine
org.djutils.draw.line.PolyLine2d startLine
Line over which GTUs enter or leave the link at the start node.
-
-
Class org.opentrafficsim.road.network.lane.CrossSectionSlice
class CrossSectionSlice extends Object implements Serializable- serialVersionUID:
- 20151126L
-
Serialized Fields
-
offset
org.djunits.value.vdouble.scalar.Length offset
The lateral offset from the design line of the parentLink at the relative length. -
relativeLength
org.djunits.value.vdouble.scalar.Length relativeLength
The relative position from the start, measured along the design line of the parent link. -
width
org.djunits.value.vdouble.scalar.Length width
The width, positioned symmetrically around the position at the relative length.
-
-
Class org.opentrafficsim.road.network.lane.Lane
class Lane extends CrossSectionElement implements Serializable- serialVersionUID:
- 20150826L
-
Serialized Fields
-
cachedHashCode
Integer cachedHashCode
Cache of the hashCode. -
cachedSpeedLimits
Map<GtuType,
org.djunits.value.vdouble.scalar.Speed> cachedSpeedLimits Cached speed limits; these are cleared when a speed limit is changed. -
detectors
SortedMap<Double,
List<LaneDetector>> detectors Detectors on the lane to trigger behavior of the GTU, sorted by longitudinal position. The triggering of detectors is done per GTU type, so different GTUs can trigger different detectors. -
gtuList
HistoricalList<LaneBasedGtu> gtuList
GTUs ordered by increasing longitudinal position; increasing in the direction of the center line. -
gtuListAtTime
List<LaneBasedGtu> gtuListAtTime
Last returned past GTU list. -
gtuListTime
org.djunits.value.vdouble.scalar.Time gtuListTime
Time of last returned GTU list. -
laneBasedObjects
SortedMap<Double,
List<LaneBasedObject>> laneBasedObjects Objects on the lane can be observed by the GTU. Examples are signs, speed signs, blocks, and traffic lights. They are sorted by longitudinal position. -
laneType
LaneType laneType
Type of lane to deduce compatibility with GTU types. -
leftNeighbours
org.djutils.multikeymap.MultiKeyMap<Set<Lane>> leftNeighbours
Adjacent left lanes that some GTU types can change onto. Left is defined relative to the direction of the design line of the link (and the direction of the center line of the lane). In terms of offsets, 'left' lanes always have a more positive offset than the current lane. Initially empty so we can calculate and cache the first time the method is called. -
nextLanes
Map<GtuType,
Set<Lane>> nextLanes Next lane(s) following this lane that some GTU types can drive onto. Next is defined in the direction of the design line. Initially empty so we can calculate and cache the first time the method is called. -
prevLanes
Map<GtuType,
Set<Lane>> prevLanes Previous lane(s) preceding this lane that some GTU types can drive from. Previous is defined relative to the direction of the design line. Initially empty so we can calculate and cache the first time the method is called. -
rightNeighbours
org.djutils.multikeymap.MultiKeyMap<Set<Lane>> rightNeighbours
Adjacent right lanes that some GTU types can change onto. Right is defined relative to the direction of the design line of the link (and the direction of the center line of the lane). In terms of offsets, 'right' lanes always have a more negative offset than the current lane. Initially empty so we can calculate and cache the first time the method is called. -
speedLimitMap
Map<GtuType,
org.djunits.value.vdouble.scalar.Speed> speedLimitMap The speed limit of this lane, which can differ per GTU type. Cars might be allowed to drive 120 km/h and trucks 90 km/h. If the speed limit is the same for a family of GTU types, that family name (e.g., GtuType.VEHICLE) can be used.
-
-
Record Class org.opentrafficsim.road.network.lane.LanePosition
class LanePosition extends Record implements Serializable- serialVersionUID:
- 20151111L
-
Serialized Fields
-
lane
Lane lane
-
position
org.djunits.value.vdouble.scalar.Length position
-
-
Class org.opentrafficsim.road.network.lane.LaneType
- serialVersionUID:
- 20140821L
-
Class org.opentrafficsim.road.network.lane.RoadMarkerAcross
class RoadMarkerAcross extends Object implements Serializable- serialVersionUID:
- 20141021L
-
Serialized Fields
-
crossSectionElement
CrossSectionElement crossSectionElement
Cross section element for which this is a road marker. Usually this will be a Lane. -
longitudinalPosition
org.djunits.value.vdouble.scalar.Length longitudinalPosition
Longitudinal position on the cross section element.
-
-
Class org.opentrafficsim.road.network.lane.Shoulder
class Shoulder extends Lane implements Serializable- serialVersionUID:
- 20240507L
-
Class org.opentrafficsim.road.network.lane.Stripe
class Stripe extends CrossSectionElement implements Serializable- serialVersionUID:
- 20141025L
-
Serialized Fields
-
overruleType
Stripe.Type overruleType
Type to overrule the normal type, e.g. rush-hour lanes without changing the appearance of the stripe. -
permeabilityMap
Map<GtuType,
Set<LateralDirectionality>> permeabilityMap Lateral permeability per GTU type and direction. -
type
Stripe.Type type
Type of the stripe, defining default permeability.
-
-
-
Package org.opentrafficsim.road.network.lane.changing
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftAlwaysRightJam
class LeftAlwaysRightJam extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftAlwaysRightSpeed
class LeftAlwaysRightSpeed extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
rightOvertakingSpeedMax
org.djunits.value.vdouble.scalar.Speed rightOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftSet
class LeftSet extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
overtakenGtuTypes
Collection<GtuType> overtakenGtuTypes
A collection of GTUs that can be overtaken by another collection of GTUs. -
overtakingGtuTypes
Collection<GtuType> overtakingGtuTypes
A collection of GTUs that can overtake another collection of GTUs.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftSetRightJam
class LeftSetRightJam extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
overtakenGtuTypes
Collection<GtuType> overtakenGtuTypes
A collection of GTUs that can be overtaken by another collection of GTUs. -
overtakingGtuTypes
Collection<GtuType> overtakingGtuTypes
A collection of GTUs that can overtake another collection of GTUs.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftSetRightSpeed
class LeftSetRightSpeed extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
overtakenGtuTypes
Collection<GtuType> overtakenGtuTypes
A collection of GTUs that can be overtaken by another collection of GTUs. -
overtakingGtuTypes
Collection<GtuType> overtakingGtuTypes
A collection of GTUs that can overtake another collection of GTUs. -
rightOvertakingSpeedMax
org.djunits.value.vdouble.scalar.Speed rightOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightAlwaysLeftJam
class RightAlwaysLeftJam extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightAlwaysLeftSpeed
class RightAlwaysLeftSpeed extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
leftOvertakingSpeedMax
org.djunits.value.vdouble.scalar.Speed leftOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightSet
class RightSet extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
overtakenGtuTypes
Collection<GtuType> overtakenGtuTypes
A collection of GTUs that can be overtaken by another collection of GTUs. -
overtakingGtuTypes
Collection<GtuType> overtakingGtuTypes
A collection of GTUs that can overtake another collection of GTUs.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightSetLeftJam
class RightSetLeftJam extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
overtakenGtuTypes
Collection<GtuType> overtakenGtuTypes
A collection of GTUs that can be overtaken by another collection of GTUs. -
overtakingGtuTypes
Collection<GtuType> overtakingGtuTypes
A collection of GTUs that can overtake another collection of GTUs.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightSetLeftSpeed
class RightSetLeftSpeed extends Object implements Serializable- serialVersionUID:
- 20150913L
-
Serialized Fields
-
leftOvertakingSpeedMax
org.djunits.value.vdouble.scalar.Speed leftOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed. -
overtakenGtuTypes
Collection<GtuType> overtakenGtuTypes
A collection of GTUs that can be overtaken by another collection of GTUs. -
overtakingGtuTypes
Collection<GtuType> overtakingGtuTypes
A collection of GTUs that can overtake another collection of GTUs.
-
-
-
Package org.opentrafficsim.road.network.lane.conflict
-
Class org.opentrafficsim.road.network.lane.conflict.Conflict
class Conflict extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20160915L
-
Serialized Fields
-
conflictGtuType
HeadwayGtuType conflictGtuType
Headway type for the provided GTUs. -
conflictRule
ConflictRule conflictRule
Conflict rule, i.e. priority, give way, stop or all-stop. -
conflictType
ConflictType conflictType
Conflict type, i.e. crossing, merge or split. -
downstreamGtus
AbstractPerceptionIterable<HeadwayGtu,
LaneBasedGtu, Integer> downstreamGtus Current downstream GTUs provider. -
downstreamLanes
Map<LaneBasedGtu,
Lane> downstreamLanes Lanes on which downstream GTUs are found. -
downstreamListening
Set<LaneBasedGtu> downstreamListening
Set of upstream GTU that invalidate the iterable when any changes lane. -
downstreamTime
org.djunits.value.vdouble.scalar.Time downstreamTime
Downstream GTUs update time. -
end
Conflict.ConflictEnd end
End of conflict. -
length
org.djunits.value.vdouble.scalar.Length length
The length of the conflict along the lane centerline. -
maxDownstreamVisibility
org.djunits.value.vdouble.scalar.Length maxDownstreamVisibility
Distance within which downstreamGTUs are provided (is automatically enlarged). -
maxMaxTrafficLightDistance
org.djunits.value.vdouble.scalar.Length maxMaxTrafficLightDistance
Maximum maximum search distance. -
maxUpstreamVisibility
org.djunits.value.vdouble.scalar.Length maxUpstreamVisibility
Distance within which upstreamGTUs are provided (is automatically enlarged). -
otherConflict
Conflict otherConflict
Accompanying other conflict. -
permitted
boolean permitted
Whether the conflict is a permitted conflict in traffic light control. -
root
SimpleLaneRecord root
Root for GTU search. -
rootPosition
org.djunits.value.vdouble.scalar.Length rootPosition
Position on the root. -
trafficLightDistance
org.djunits.value.vdouble.scalar.Length trafficLightDistance
Distance to upstream traffic light. -
upstreamGtus
AbstractPerceptionIterable<HeadwayGtu,
LaneBasedGtu, Integer> upstreamGtus Current upstream GTUs provider. -
upstreamLanes
Map<LaneBasedGtu,
Lane> upstreamLanes Lanes on which upstream GTUs are found. -
upstreamListening
Set<LaneBasedGtu> upstreamListening
Set of upstream GTU that invalidate the iterable when any changes lane. -
upstreamTime
org.djunits.value.vdouble.scalar.Time upstreamTime
Upstream GTUs update time.
-
-
Class org.opentrafficsim.road.network.lane.conflict.Conflict.ConflictEnd
class ConflictEnd extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20161214L
-
Serialized Fields
-
conflict
Conflict conflict
Conflict at start of conflict area.
-
-
-
Package org.opentrafficsim.road.network.lane.object
-
Class org.opentrafficsim.road.network.lane.object.AbstractLaneBasedObject
class AbstractLaneBasedObject extends StaticObject implements Serializable- serialVersionUID:
- 20160909L
-
Serialized Fields
-
lane
Lane lane
The lane for which this is a sensor. -
longitudinalPosition
org.djunits.value.vdouble.scalar.Length longitudinalPosition
The position (between 0.0 and the length of the Lane) of the sensor on the design line of the lane.
-
-
Class org.opentrafficsim.road.network.lane.object.BusStop
class BusStop extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20170124L
-
Class org.opentrafficsim.road.network.lane.object.Distraction
class Distraction extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20180405L
-
Serialized Fields
-
profile
Distraction.DistractionProfile profile
Distraction profile.
-
-
Class org.opentrafficsim.road.network.lane.object.SpeedSign
class SpeedSign extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20170420L
-
Serialized Fields
-
endTimeOfDay
org.djunits.value.vdouble.scalar.Duration endTimeOfDay
End time-of-day. -
gtuType
GtuType gtuType
GTU type. -
speed
org.djunits.value.vdouble.scalar.Speed speed
Speed limit. -
startTimeOfDay
org.djunits.value.vdouble.scalar.Duration startTimeOfDay
Start time-of-day.
-
-
-
Package org.opentrafficsim.road.network.lane.object.detector
-
Class org.opentrafficsim.road.network.lane.object.detector.DetectorType
- serialVersionUID:
- 20230201L
-
Class org.opentrafficsim.road.network.lane.object.detector.LaneDetector
class LaneDetector extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20141231L
-
Serialized Fields
-
detectorType
DetectorType detectorType
Detector type. -
positionType
RelativePosition.Type positionType
The relative position of the vehicle that triggers the detector. -
simulator
OtsSimulatorInterface simulator
The simulator for being able to generate an animation.
-
-
Class org.opentrafficsim.road.network.lane.object.detector.LoopDetector
class LoopDetector extends LaneDetector implements Serializable- serialVersionUID:
- 20180312L
-
Serialized Fields
-
aggregation
org.djunits.value.vdouble.scalar.Duration aggregation
Aggregation time. -
currentAggregation
org.djunits.value.vdouble.scalar.Duration currentAggregation
Aggregation time of current period, may differ due to offset at start. -
currentCumulativeDataMap
Map<LoopDetector.LoopDetectorMeasurement<?,
?>, Object> currentCumulativeDataMap Current cumulative measurements. -
firstAggregation
org.djunits.value.vdouble.scalar.Time firstAggregation
First aggregation. -
flow
List<org.djunits.value.vdouble.scalar.Frequency> flow
Flow per aggregation period. -
gtuCountCurrentPeriod
int gtuCountCurrentPeriod
Count in current period. -
length
org.djunits.value.vdouble.scalar.Length length
Detector length. -
overallGtuCount
int overallGtuCount
Count overall. -
period
int period
Period number. -
periodicDataMap
Map<LoopDetector.LoopDetectorMeasurement<?,
?>, List<?>> periodicDataMap Measurements per aggregation period.
-
-
Class org.opentrafficsim.road.network.lane.object.detector.ReportingDetector
class ReportingDetector extends LaneDetector implements Serializable- serialVersionUID:
- 20150130L
-
Class org.opentrafficsim.road.network.lane.object.detector.SinkDetector
class SinkDetector extends LaneDetector implements Serializable- serialVersionUID:
- 20150130L
-
Serialized Fields
-
predicate
BiPredicate<SinkDetector,
LaneBasedGtu> predicate Predicate to select GTUs to destroy.
-
-
Class org.opentrafficsim.road.network.lane.object.detector.TrafficLightDetector
class TrafficLightDetector extends org.djutils.event.LocalEventProducer implements Serializable- serialVersionUID:
- 20161103L
-
Serialized Fields
-
currentGTUs
Set<LaneBasedGtu> currentGTUs
GTUs detected by the entrance detectors, but not yet removed by the exit detectors. -
entryA
TrafficLightDetector.StartEndDetector entryA
The detector that detects when a GTU enters the detector area at point A. -
exitB
TrafficLightDetector.StartEndDetector exitB
The detector that detects when a GTU exits the detector area at point B. -
geometry
org.opentrafficsim.base.geometry.BoundingPolygon geometry
Geometry of the detector. -
id
String id
Id of this TrafficLightDetector. -
lanes
Set<Lane> lanes
The lanes that the detector (partly) covers. -
location
org.djutils.draw.point.OrientedPoint2d location
Center location. -
network
Network network
The OTS network. -
type
DetectorType type
Type. -
uniqueId
String uniqueId
Unique id for network.
-
-
Class org.opentrafficsim.road.network.lane.object.detector.TrafficLightDetector.StartEndDetector
class StartEndDetector extends LaneDetector implements Serializable- serialVersionUID:
- 20161104L
-
-
Package org.opentrafficsim.road.network.lane.object.trafficlight
-
Class org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLight
class TrafficLight extends AbstractLaneBasedObject implements Serializable- serialVersionUID:
- 20230216L
-
Serialized Fields
-
simulator
OtsSimulatorInterface simulator
The simulator to schedule events on. -
trafficLightColor
TrafficLightColor trafficLightColor
The color of the traffic light. -
turnOnRed
Set<Node> turnOnRed
Node that we can turn to through red.
-
-
-
Package org.opentrafficsim.road.network.sampling
-
Class org.opentrafficsim.road.network.sampling.RoadSampler
- serialVersionUID:
- 20200228L
-
Serialized Fields
-
activeGtus
Set<String> activeGtus
Set of actively sampled GTUs. -
activeLanesPerGtu
Map<String,
Set<Lane>> activeLanesPerGtu Set of lanes the sampler knows each GTU to be at. Usually 1, could be 2 during a trajectory transition. -
eventsPerGtu
Map<String,
Map<Lane, nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEventInterface<org.djunits.value.vdouble.scalar.Duration>>> eventsPerGtu Registration of sampling events of each GTU per lane, if interval based. -
network
RoadNetwork network
Network. -
samplingInterval
org.djunits.value.vdouble.scalar.Duration samplingInterval
Sampling interval. -
simulator
OtsSimulatorInterface simulator
Simulator.
-
-
-
Package org.opentrafficsim.road.network.speed
-
Record Class org.opentrafficsim.road.network.speed.SpeedInfoCurvature
class SpeedInfoCurvature extends Record implements Serializable- serialVersionUID:
- 20160501L
-
Serialized Fields
-
radius
org.djunits.value.vdouble.scalar.Length radius
-
-
Class org.opentrafficsim.road.network.speed.SpeedLimitInfo
class SpeedLimitInfo extends Object implements Serializable- serialVersionUID:
- 20160501L
-
Serialized Fields
-
speedInfoMap
Map<SpeedLimitType<?>,
Object> speedInfoMap Set of current speed info's mapped to speed limit types.
-
-
Class org.opentrafficsim.road.network.speed.SpeedLimitProspect
class SpeedLimitProspect extends Object implements Serializable- serialVersionUID:
- 20160501L
-
Serialized Fields
-
addSources
Map<Object,
org.opentrafficsim.road.network.speed.SpeedLimitProspect.SpeedLimitEntry<?>> addSources Source objects for the speed info additions. -
odometer
org.djunits.value.vdouble.scalar.Length odometer
Last odometer value. -
prospect
SortedSet<org.opentrafficsim.road.network.speed.SpeedLimitProspect.SpeedLimitEntry<?>> prospect
Spatial prospect of speed info. -
removeSources
Map<Object,
org.opentrafficsim.road.network.speed.SpeedLimitProspect.SpeedLimitEntry<?>> removeSources Source objects for the speed info removals.
-
-
Class org.opentrafficsim.road.network.speed.SpeedLimitType
class SpeedLimitType extends Object implements Serializable- serialVersionUID:
- 20160501L
-
Class org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeed
class SpeedLimitTypeSpeed extends SpeedLimitType<org.djunits.value.vdouble.scalar.Speed> implements Serializable- serialVersionUID:
- 20160501L
-
Class org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeedLegal
class SpeedLimitTypeSpeedLegal extends SpeedLimitTypeSpeed implements Serializable- serialVersionUID:
- 20160501L
-
-
Package org.opentrafficsim.road.od
-
Class org.opentrafficsim.road.od.Categorization
class Categorization extends Object implements Serializable- serialVersionUID:
- 20160921L
-
Class org.opentrafficsim.road.od.Category
class Category extends Object implements Serializable- serialVersionUID:
- 20160921L
-
Serialized Fields
-
categorization
Categorization categorization
Categorization. -
objects
List<Object> objects
List of objects defining the category.
-
-
Class org.opentrafficsim.road.od.OdMatrix
class OdMatrix extends Object implements Serializable- serialVersionUID:
- 20160921L
-
Serialized Fields
-
categorization
Categorization categorization
Categorization of demand data. -
demandData
Map<Node,
Map<Node, Map<Category, DemandPattern>>> demandData Demand data per origin and destination, and possibly further categorization. -
destinations
List<Node> destinations
Destination nodes. -
globalInterpolation
Interpolation globalInterpolation
Global interpolation of the data. -
globalTimeVector
org.djunits.value.vdouble.vector.TimeVector globalTimeVector
Global time vector. -
id
String id
Id. -
origins
List<Node> origins
Origin nodes.
-
-