Serialized Form
-
Package org.opentrafficsim.road.gtu.generator
-
Class org.opentrafficsim.road.gtu.generator.AbstractGTUGeneratorOld extends EventProducer implements Serializable
- serialVersionUID:
- 20150202L
-
Serialized Fields
-
bounds
javax.media.j3d.Bounds bounds
Bounds for animation. -
carBuilderList
List<LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder> carBuilderList
Car builder list. -
direction
GTUDirectionality direction
The direction in which the GTU has to be generated; DIR_PLUS or DIR_MINUS. -
endTime
Time endTime
End time of generation. -
generatedGTUs
long generatedGTUs
Generated number of GTUs. -
gtuClass
Class<?> gtuClass
The GTU class to instantiate. -
gtuType
GTUType gtuType
The type of GTU to generate. -
initialSpeedDist
ContinuousDistDoubleScalar.Rel<Speed,SpeedUnit> initialSpeedDist
Distribution of the initial speed of the GTU. -
interarrivelTimeDist
ContinuousDistDoubleScalar.Rel<Duration,DurationUnit> interarrivelTimeDist
Distribution of the interarrival time. -
lane
Lane lane
Lane to generate the GTU on -- at the end for now. -
maxGTUs
long maxGTUs
Maximum number of GTUs to generate. -
name
String name
The generator name. Will be used for generated GTUs as Name:# where # is the id of the GTU when ID is a String. -
network
OTSRoadNetwork network
The network. -
numberGTUs
long numberGTUs
Number of generated GTUs. -
position
Length position
Position on the lane, relative to the design line of the link. -
routeGenerator
Generator<Route> routeGenerator
Route generator. -
startTime
Time startTime
Start time of generation (delayed start). -
strategicalPlannerFactory
LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> strategicalPlannerFactory
The lane-based strategical planner factory to use.
-
-
Class org.opentrafficsim.road.gtu.generator.GTUGeneratorIndividualOld extends AbstractGTUGeneratorOld implements Serializable
- serialVersionUID:
- 20160000L
-
Serialized Fields
-
lengthDist
ContinuousDistDoubleScalar.Rel<Length,LengthUnit> lengthDist
Distribution of the length of the GTU. -
maximumSpeedDist
ContinuousDistDoubleScalar.Rel<Speed,SpeedUnit> maximumSpeedDist
Distribution of the maximum speed of the GTU. -
simulator
OTSSimulatorInterface simulator
Simulator to schedule next arrival events. -
widthDist
ContinuousDistDoubleScalar.Rel<Length,LengthUnit> widthDist
Distribution of the width of the GTU.
-
-
Class org.opentrafficsim.road.gtu.generator.LaneBasedGTUGenerator extends EventProducer implements Serializable
- serialVersionUID:
- 20160000L
-
Serialized Fields
-
disabled
Set<LaneDirection> disabled
Vehicle generation is ignored on these lanes. -
errorHandler
GTUErrorHandler errorHandler
GTU error handler. -
generatedGTUs
long generatedGTUs
Total number of GTUs generated so far. -
generatorPositions
GeneratorPositions generatorPositions
Location and initial direction provider for all generated GTUs. -
id
String id
Name of the GTU generator. -
idGenerator
IdGenerator idGenerator
ID generator. -
instantaneousLaneChange
boolean instantaneousLaneChange
Whether GTUs change lane instantaneously. -
interarrivelTimeGenerator
Generator<Duration> interarrivelTimeGenerator
Time distribution that determines the interval times between GTUs. -
laneBasedGTUCharacteristicsGenerator
LaneBasedGTUCharacteristicsGenerator laneBasedGTUCharacteristicsGenerator
Generates most properties of the GTUs. -
network
OTSRoadNetwork network
Network. -
noLaneChangeDistance
Length noLaneChangeDistance
Initial distance over which lane changes shouldn't be performed. -
reTryInterval
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. -
unplacedTemplates
Map<CrossSectionLink,Map<GeneratorPositions.GeneratorLanePosition,Queue<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 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.LaneBasedTemplateGTUType extends TemplateGTUType implements Serializable
- serialVersionUID:
- 20160101L
-
Serialized Fields
-
initialSpeedGenerator
Generator<Speed> initialSpeedGenerator
Generator for the initial speed of the next GTU. -
routeGenerator
Generator<Route> routeGenerator
Route Generator. -
strategicalPlannerFactory
LaneBasedStrategicalPlannerFactory<?> strategicalPlannerFactory
Factory for the strategical planner.
-
-
Class org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedTemplateGTUTypeDistribution extends Object implements Serializable
- serialVersionUID:
- 20160000L
-
Serialized Fields
-
distribution
Distribution<LaneBasedTemplateGTUType> distribution
The Distribution of lane based template GTU types.
-
-
-
Package org.opentrafficsim.road.gtu.lane
-
Class org.opentrafficsim.road.gtu.lane.AbstractLaneBasedGTU extends AbstractGTU implements Serializable
- serialVersionUID:
- 20140822L
-
Serialized Fields
-
cachedCarFollowingAcceleration
Acceleration cachedCarFollowingAcceleration
Cached car-following acceleration. -
cachedDesiredSpeed
Speed cachedDesiredSpeed
Cached desired speed. -
cachedPositions
Map<Integer,Length> cachedPositions
caching of last stored position(s). -
cachedReferencePosition
DirectedLanePosition cachedReferencePosition
Cached reference position. -
cachePositionsTime
double cachePositionsTime
caching of time field for last stored position(s). -
carFollowingAccelerationTime
Time carFollowingAccelerationTime
Time car-following acceleration was cached. -
currentLanes
HistoricalMap<Lane,GTUDirectionality> currentLanes
The lanes the GTU is registered on. Each lane has to have its link registered in the fractionalLinkPositions as well to keep consistency. Each link from the fractionalLinkPositions can have one or more Lanes on which the vehicle is registered. This is a list to improve reproducibility: The 'oldest' lanes on which the vehicle is registered are at the front of the list, the later ones more to the back. -
desiredSpeedTime
Time desiredSpeedTime
Time desired speed was cached. -
enteredLanes
Set<Lane> enteredLanes
Maps that we enter when initiating a lane change, but we may not actually enter given a deviative plan. -
finalizeLaneChangeEvent
SimEventInterface<SimTimeDoubleUnit> finalizeLaneChangeEvent
Event to finalize lane change. -
fractionalLinkPositions
HistoricalMap<Link,Double> fractionalLinkPositions
Fractional longitudinal positions of the reference point of the GTU on one or more links at the start of the current operational plan. Because the reference point of the GTU might not be on all the links the GTU is registered on, the fractional longitudinal positions can be more than one, or less than zero. -
lock
Object lock
The object to lock to make the GTU thread safe. -
pendingEnterTriggers
Map<Lane,List<SimEventInterface<SimTimeDoubleUnit>>> pendingEnterTriggers
Pending enter triggers for each lane. -
pendingLeaveTriggers
Map<Lane,List<SimEventInterface<SimTimeDoubleUnit>>> pendingLeaveTriggers
Pending leave triggers for each lane. -
referencePositionTime
double referencePositionTime
Time of reference position cache. -
turnIndicatorStatus
Historical<TurnIndicatorStatus> turnIndicatorStatus
Turn indicator status. -
vehicleModel
VehicleModel vehicleModel
Vehicle model.
-
-
Class org.opentrafficsim.road.gtu.lane.AbstractLaneBasedGTU2 extends AbstractGTU implements Serializable
- serialVersionUID:
- 20140822L
-
Serialized Fields
-
cachedCarFollowingAcceleration
Acceleration cachedCarFollowingAcceleration
Cached car-following acceleration. -
cachedDesiredSpeed
Speed cachedDesiredSpeed
Cached desired speed. -
cachedPositions
MultiKeyMap<Length> cachedPositions
caching of last stored position(s). -
cachedReferencePosition
DirectedLanePosition 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
Time carFollowingAccelerationTime
Time car-following acceleration was cached. -
crossSections
HistoricalList<org.opentrafficsim.road.gtu.lane.AbstractLaneBasedGTU2.CrossSection> crossSections
Lanes. -
desiredSpeedTime
Time desiredSpeedTime
Time desired speed was cached. -
finalizeLaneChangeEvent
SimEventInterface<SimTimeDoubleUnit> 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. -
pendingEnterTrigger
SimEventInterface<SimTimeDoubleUnit> pendingEnterTrigger
Pending enter triggers for each lane. -
pendingLeaveTrigger
SimEventInterface<SimTimeDoubleUnit> 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<SimEventInterface<SimTimeDoubleUnit>> sensorEvents
Sensor events. -
turnIndicatorStatus
Historical<TurnIndicatorStatus> turnIndicatorStatus
Turn indicator status. -
vehicleModel
VehicleModel vehicleModel
Vehicle model.
-
-
Class org.opentrafficsim.road.gtu.lane.AbstractLaneBasedIndividualGTU extends AbstractLaneBasedGTU2 implements Serializable
- serialVersionUID:
- 20140822L
-
Serialized Fields
-
length
Length length
The maximum length of the GTU (parallel with driving direction). -
maximumSpeed
Speed maximumSpeed
The maximum speed of the GTU (in the driving direction). -
noLaneChangeDistance
Length noLaneChangeDistance
Distance over which the GTU should not change lane after being created. -
width
Length width
The maximum width of the GTU (perpendicular to driving direction).
-
-
Class org.opentrafficsim.road.gtu.lane.AbstractLaneBasedMoveChecker extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
network
OTSNetwork network
Network.
-
-
Class org.opentrafficsim.road.gtu.lane.AccelerationChecker extends AbstractLaneBasedMoveChecker implements Serializable
-
Serialized Fields
-
max
Acceleration max
Maximum allowable acceleration. -
min
Acceleration min
Minimum allowable acceleration. -
minSpeed
Speed minSpeed
Speed above which acceleration should be checked.
-
-
-
Class org.opentrafficsim.road.gtu.lane.CollisionDetector extends AbstractLaneBasedMoveChecker implements Serializable
-
Class org.opentrafficsim.road.gtu.lane.CollisionException extends RuntimeException implements Serializable
- serialVersionUID:
- 20150217L
-
Class org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU extends AbstractLaneBasedIndividualGTU implements Serializable
- serialVersionUID:
- 20141025L
-
Serialized Fields
-
contourPoints
Set<RelativePosition> contourPoints
contour points. -
frontPos
RelativePosition frontPos
cached front. -
rearPos
RelativePosition rearPos
cached rear. -
relativePositions
Map<RelativePosition.TYPE,RelativePosition> relativePositions
Sensing positions.
-
-
Class org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder extends Object implements Serializable
- serialVersionUID:
- 20160000L
-
Serialized Fields
-
front
Length front
The distance of the front relative to the reference position. -
gtuType
GTUType gtuType
The type of GTU, e.g. TruckType, CarType, BusType. -
id
String id
The id of the GTU. -
initialLongitudinalPositions
Set<DirectedLanePosition> initialLongitudinalPositions
The initial positions of the car on one or more lanes. -
initialSpeed
Speed initialSpeed
The initial speed of the car on the lane. -
length
Length length
The length of the GTU (parallel with driving direction). -
maximumAcceleration
Acceleration maximumAcceleration
Maximum acceleration. -
maximumDeceleration
Acceleration maximumDeceleration
Maximum deceleration (a negative value). -
maximumSpeed
Speed maximumSpeed
The maximum speed of the GTU (in the driving direction). -
network
OTSRoadNetwork network
Network. -
simulator
OTSSimulatorInterface simulator
The simulator. -
width
Length width
The width of the GTU (perpendicular to driving direction).
-
-
Class org.opentrafficsim.road.gtu.lane.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.AbstractLanePerception extends AbstractPerception<LaneBasedGTU> implements Serializable
- serialVersionUID:
- 20151128L
-
Serialized Fields
-
laneStructure
LaneStructure laneStructure
Lane structure to perform the perception with. -
mental
Mental mental
Mental module. -
updateTime
Time updateTime
Most recent update time of lane structure.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.CategoricalLanePerception extends AbstractLanePerception implements Serializable
- serialVersionUID:
- 20160729L
-
Class org.opentrafficsim.road.gtu.lane.perception.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,Speed>> laneTypeSpeedMap
stored speed limit info of the observed GTU. -
parametersMap
Map<GTUType,Parameters> parametersMap
stored parameters of the observed GTU.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.InfrastructureLaneChangeInfo extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
afterStartLength
Length afterStartLength
Available length after the start (reference on start). -
deadEnd
boolean deadEnd
Whether the need to change lane comes from a dead-end. -
lat
LateralDirectionality lat
Lateral directionality of required lane changes. -
record
LaneStructureRecord record
Record who's end defines the remaining distances. -
requiredNumberOfLaneChanges
int requiredNumberOfLaneChanges
Required number of lane changes.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.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.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.RollingLaneStructure extends Object implements Serializable
- serialVersionUID:
- 20160400L
-
Serialized Fields
-
animationAccess
RollingLaneStructure.AnimationAccess animationAccess
the animation access. -
containingGtu
LaneBasedGTU containingGtu
GTU. -
crossSectionRecords
TreeMap<RelativeLane,RollingLaneStructureRecord> crossSectionRecords
Lane structure records of the cross section. -
down
Length down
Downstream distance over which the structure is made. -
downSplit
Length downSplit
Downstream distance at splits (links not on route) included in the structure. -
downstreamEdge
Set<RollingLaneStructureRecord> downstreamEdge
Downstream edges. -
firstRecords
TreeMap<RelativeLane,RollingLaneStructureRecord> firstRecords
First lane structure records. -
ignoreSet
Set<Lane> ignoreSet
Set of lanes that can be ignored as they are beyond build bounds. -
lookAhead
Length lookAhead
Look ahead distance. -
previouslyDeviative
boolean previouslyDeviative
Whether the previous plan was deviative. -
previousRoute
Route previousRoute
Route the structure is based on. -
relativeLaneMap
Map<RelativeLane,Set<RollingLaneStructureRecord>> relativeLaneMap
Lane structure records grouped per relative lane. -
relativeLanes
Map<LaneStructureRecord,RelativeLane> relativeLanes
Relative lanes storage per record, such that other records can be linked to the correct relative lane. -
root
Historical<RollingLaneStructureRecord> root
The lanes from which we observe the situation. -
up
Length up
Upstream distance over which the structure is made. -
upMerge
Length upMerge
Upstream distance at downstream merges (links not on route) included in the structure. -
upstreamEdge
Set<RollingLaneStructureRecord> upstreamEdge
Upstream edges.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.RollingLaneStructureRecord extends Object implements Serializable
- serialVersionUID:
- 20160400L
-
Serialized Fields
-
cutOffEnd
Length cutOffEnd
Where this lane was cut-off resulting in no next lanes, if so. -
cutOffStart
Length cutOffStart
Where this lane was cut-off resulting in no prev lanes, if so. -
dependentRecords
Set<RollingLaneStructureRecord> dependentRecords
Set of records who's starting position depends on this record. -
gtuDirectionality
GTUDirectionality gtuDirectionality
The direction in which we process this lane. -
lane
Lane lane
The lane of the LSR. -
left
RollingLaneStructureRecord left
The left LSR or null if not available. Left and right are relative to the driving direction. -
mayChangeLeft
boolean mayChangeLeft
Legal left lane change possibility. -
mayChangeRight
boolean mayChangeRight
Legal right lane change possibility. -
nextList
List<RollingLaneStructureRecord> nextList
The next LSRs. The list is empty if no LSRs are available. Next is relative to the driving direction, not to the design line direction. -
prevList
List<RollingLaneStructureRecord> prevList
The previous LSRs. The list is empty if no LSRs are available. Previous is relative to the driving direction, not to the design line direction. -
right
RollingLaneStructureRecord right
The right LSR or null if not available. Left and right are relative to the driving direction. -
source
RollingLaneStructureRecord source
Record who's start start distance is used to calculate the start distance of this record. -
sourceLink
RollingLaneStructureRecord.RecordLink sourceLink
Start distance link between records. -
startDistance
Length startDistance
Distance to start of the record, negative for backwards.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.SortedSetPerceptionIterable extends TreeSet<H extends Headway> implements Serializable
- serialVersionUID:
- 20180219L
-
Serialized Fields
-
network
OTSRoadNetwork network
Deprecated.Network to obtain LaneBasedGTU.
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.categories
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.AnticipationTrafficPerception extends LaneBasedAbstractPerceptionCategory 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,TimeStampedObject<LinearDensity>> density
Anticipated density combined. -
lastSpeedTime
Time lastSpeedTime
Last time speed was updated. -
speed
Map<RelativeLane,Speed> speed
Anticipated speed combined.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectBusStopPerception extends LaneBasedAbstractPerceptionCategory implements Serializable
- serialVersionUID:
- 20170127L
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectDefaultSimplePerception extends LaneBasedAbstractPerceptionCategory implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
accessibleAdjacentLanesLeft
TimeStampedObject<Map<Lane,Set<Lane>>> accessibleAdjacentLanesLeft
The adjacent lanes that are accessible for the GTU at the left side. -
accessibleAdjacentLanesRight
TimeStampedObject<Map<Lane,Set<Lane>>> accessibleAdjacentLanesRight
The adjacent lanes that are accessible for the GTU at the right side. -
backwardHeadway
TimeStampedObject<Headway> backwardHeadway
The backward headway and (follower) object. -
forwardHeadwayGTU
TimeStampedObject<Headway> forwardHeadwayGTU
The forward headway and (leader) GTU. -
forwardHeadwayObject
TimeStampedObject<Headway> forwardHeadwayObject
The forward headway and (leader) object. -
lanePathInfo
TimeStampedObject<LanePathInfo> lanePathInfo
The lanes and path we expect to take if we do not change lanes. -
neighboringHeadwaysLeft
TimeStampedObject<Collection<Headway>> neighboringHeadwaysLeft
The GTUs on the left side. -
neighboringHeadwaysRight
TimeStampedObject<Collection<Headway>> neighboringHeadwaysRight
The GTUs on the right side. -
parallelHeadwaysLeft
TimeStampedObject<Collection<Headway>> parallelHeadwaysLeft
The objects parallel to us on the left side. -
parallelHeadwaysRight
TimeStampedObject<Collection<Headway>> parallelHeadwaysRight
The objects parallel to us on the right side. -
speedLimit
TimeStampedObject<Speed> speedLimit
The minimum speed limit of all lanes where the GTU is registered.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectInfrastructurePerception extends LaneBasedAbstractPerceptionCategory implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
anyNextOkCache
Map<LaneStructureRecord,Boolean> anyNextOkCache
Cache for anyNextOk. -
crossSection
TimeStampedObject<SortedSet<RelativeLane>> crossSection
Cross-section. -
cutOff
Set<LaneStructureRecord> cutOff
Set of records with accessible end as they are cut off. -
infrastructureLaneChangeInfo
Map<RelativeLane,TimeStampedObject<SortedSet<InfrastructureLaneChangeInfo>>> infrastructureLaneChangeInfo
Infrastructure lane change info per relative lane. -
lanes
Set<Lane> lanes
Lanes registered to the GTU used to check if an update is required. -
legalLaneChangePossibility
Map<RelativeLane,Map<LateralDirectionality,TimeStampedObject<org.opentrafficsim.road.gtu.lane.perception.categories.DirectInfrastructurePerception.LaneChangePossibility>>> legalLaneChangePossibility
Legal Lane change possibilities per relative lane and lateral direction. -
physicalLaneChangePossibility
Map<RelativeLane,Map<LateralDirectionality,TimeStampedObject<org.opentrafficsim.road.gtu.lane.perception.categories.DirectInfrastructurePerception.LaneChangePossibility>>> physicalLaneChangePossibility
Physical Lane change possibilities per relative lane and lateral direction. -
root
LaneStructureRecord root
Root. -
route
Route route
Route. -
speedLimitProspect
Map<RelativeLane,TimeStampedObject<SpeedLimitProspect>> speedLimitProspect
Speed limit prospect per relative lane.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.DirectIntersectionPerception extends LaneBasedAbstractPerceptionCategory implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
headwayGtuType
HeadwayGtuType headwayGtuType
Headway GTU type that should be used.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.LaneBasedAbstractPerceptionCategory extends AbstractPerceptionCategory<LaneBasedGTU,LanePerception> implements Serializable
- serialVersionUID:
- 20160811L
-
Class org.opentrafficsim.road.gtu.lane.perception.categories.WienerProcess extends DistNormal implements Serializable
- serialVersionUID:
- 20181018L
-
Serialized Fields
-
muW
double muW
Mean. -
prevTime
Time prevTime
Time the value was determined. -
sigmaW
double sigmaW
Standard deviation. -
simulator
OTSSimulatorInterface simulator
Simulator. -
tau
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.AccPerception extends LaneBasedAbstractPerceptionCategory 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.CaccPerception extends LaneBasedAbstractPerceptionCategory 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 extends LaneBasedAbstractPerceptionCategory implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
headwayGtuType
HeadwayGtuType headwayGtuType
Headway GTU type that should be used. -
headwayGtuTypeGap
HeadwayGtuType headwayGtuTypeGap
Headway GTU type that should be used to assess gaps.
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.headway
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadway extends Object implements Serializable
- serialVersionUID:
- 20170324L
-
Serialized Fields
-
distance
Length distance
The (perceived) distance to the other object. When objects are parallel, the distance is null. -
overlap
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
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
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 extends AbstractHeadway implements Serializable
- serialVersionUID:
- 20160410L
-
Serialized Fields
-
acceleration
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
Length length
The (perceived) length of the other object. Can be null if unknown. -
objectType
Headway.ObjectType objectType
The object type. -
speed
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 extends AbstractHeadwayCopy implements Serializable
- serialVersionUID:
- 20160410L
-
Serialized Fields
-
desiredSpeed
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
Length width
Perceived width.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.AbstractHeadwayLaneBasedObject extends AbstractHeadwayCopy implements Serializable
- serialVersionUID:
- 20190515L
-
Serialized Fields
-
lane
Lane lane
Lane.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayBusStop extends AbstractHeadwayLaneBasedObject implements Serializable
- serialVersionUID:
- 20170127L
-
Serialized Fields
-
conflictIds
Set<String> conflictIds
Conflicts downstream of the bus stop. -
lines
ImmutableSet<String> lines
Lines. -
relativeLane
RelativeLane relativeLane
Relative lane.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayConflict extends AbstractHeadwayLaneBasedObject implements Serializable
- serialVersionUID:
- 20160602L
-
Serialized Fields
-
conflictingLength
Length conflictingLength
Length of the conflict in the conflicting directions. -
conflictingLink
CrossSectionLink conflictingLink
Link of conflicting conflict. -
conflictingSpeedLimit
Speed conflictingSpeedLimit
Speed limit on the conflicting lane. -
conflictingStopLine
HeadwayStopLine conflictingStopLine
Stop line on the conflicting lane. -
conflictingTrafficLightDistance
Length conflictingTrafficLightDistance
Distance of traffic light upstream on conflicting lane. -
conflictingVisibility
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 extends Object implements Serializable
- serialVersionUID:
- 20160410L
-
Serialized Fields
-
distance
Length distance
the distance of the headway.
-
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayGTUPerceived extends HeadwayGTURealCopy implements Serializable
- serialVersionUID:
- 20180405L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.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 extends AbstractHeadwayGTU implements Serializable
- serialVersionUID:
- 20160527L
-
Serialized Fields
-
carFollowingModel
CarFollowingModel carFollowingModel
stored car following model of the observed GTU. -
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 extends AbstractHeadwayGTU implements Serializable
- serialVersionUID:
- 20160527L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.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 extends AbstractHeadwayCopy implements Serializable
- serialVersionUID:
- 20160410L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayStopLine extends AbstractHeadwayLaneBasedObject implements Serializable
- serialVersionUID:
- 20160630L
-
Class org.opentrafficsim.road.gtu.lane.perception.headway.HeadwayTrafficLight extends AbstractHeadwayLaneBasedObject implements Serializable
- serialVersionUID:
- 20160410L
-
Serialized Fields
-
trafficLight
TrafficLight trafficLight
the traffic light object for further observation, can not be null.
-
-
-
Package org.opentrafficsim.road.gtu.lane.perception.mental.sdm
-
Class org.opentrafficsim.road.gtu.lane.perception.mental.sdm.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
OTSRoadNetwork network
Network. -
simulator
DEVSSimulatorInterface.TimeDoubleUnit simulator
Simulator.
-
-
-
-
Package org.opentrafficsim.road.gtu.lane.plan.operational
-
Class org.opentrafficsim.road.gtu.lane.plan.operational.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 extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
boundary
Length boundary
Boundary length within which the lane change should be performed. -
desiredLaneChangeDuration
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
Length minimumLaneChangeDistance
Minimum lane change distance.
-
-
Class org.opentrafficsim.road.gtu.lane.plan.operational.SimpleOperationalPlan extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
acceleration
Acceleration acceleration
Acceleration. -
duration
Duration duration
Duration of the plan. -
indicatorIntent
TurnIndicatorIntent indicatorIntent
Indicator intent. -
indicatorObjectDistance
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 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 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 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.LaneBasedGTUFollowingDirectedChangeTacticalPlanner extends AbstractLaneBasedTacticalPlanner implements Serializable
- serialVersionUID:
- 20160129L
-
Serialized Fields
-
blockingHeadways
Collection<Headway> blockingHeadways
Headways that are causing the dead-lock. -
coopHeadway
Headway coopHeadway
Headway for cooperation. -
deadLock
Time deadLock
Time when (potential) dead-lock was first recognized. -
deadLockThreshold
Duration deadLockThreshold
Time after which situation is labeled a dead-lock. -
destroyGtuOnFailure
boolean destroyGtuOnFailure
When a failure in planning occurs, should we destroy the GTU to avoid halting of the model? -
durationInLaneAfterLaneChange
Duration durationInLaneAfterLaneChange
Time a GTU should stay in its current lane after a lane change. -
earliestNextLaneChangeTime
Time earliestNextLaneChangeTime
Earliest next lane change time (unless we HAVE to change lanes). -
laneAfterLaneChange
Lane laneAfterLaneChange
Lane we changed to at instantaneous lane change. -
posAfterLaneChange
Length posAfterLaneChange
Position on the reference lane. -
syncHeadway
Headway syncHeadway
Headway for synchronization.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
carFollowingModel
GTUFollowingModelOld carFollowingModel
The car following model. -
carFollowingModelFactory
CarFollowingModelFactory<? extends GTUFollowingModelOld> carFollowingModelFactory
Factory for car-following model.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingTacticalPlanner extends AbstractLaneBasedTacticalPlanner implements Serializable
- serialVersionUID:
- 20151125L
-
Class org.opentrafficsim.road.gtu.lane.tactical.LaneBasedGTUFollowingTacticalPlannerFactory extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
carFollowingModel
GTUFollowingModelOld carFollowingModel
The car following model.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.LanePathInfo extends Object implements Serializable
- serialVersionUID:
- 20151231L
-
Serialized Fields
-
laneDirectionList
List<LaneDirection> laneDirectionList
The current lane on which the reference point of the GTU is registered (if the GTU is registered on multiple lanes with the reference point, one lane is chosen where the reference point has a fractional lane position between 0.0 and 1.0), and consecutive lanes that follow the route if possible in the same lane. The list of lanes stops when a continuation lane does not lead in the direction of the route provided by the strategical planner. For each lane, the direction to drive is provided. -
path
OTSLine3D path
The path it the GTU keeps driving in the same lane, and follows the route if possible in the same lane. The path stops when the lane or a continuation lane does not lead in the direction of the route provided by the strategical planner. -
referencePosition
Length referencePosition
The start point on the first lane in the laneDirectionList. When this is a point that represents a GTU position, it should represent the reference point of the GTU.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.NextSplitInfo extends Object implements Serializable
- serialVersionUID:
- 20151231L
-
Serialized Fields
-
correctCurrentLanes
Set<Lane> correctCurrentLanes
If the route splits, what are the lane(s) and/or adjacent lane(s) on which the reference point of the GTU is registered that lead us in the direction of the route provided by the strategical planner. -
nextSplitNode
Node nextSplitNode
If the route splits, at what node does it split? -
requiredDirection
LateralDirectionality requiredDirection
Required direction.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.directedlanechange
-
Class org.opentrafficsim.road.gtu.lane.tactical.directedlanechange.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 extends Object implements Serializable
- serialVersionUID:
- 20150000L
-
Serialized Fields
-
acceleration
Acceleration acceleration
Acceleration that will be maintained during the current time slot. -
duration
Duration duration
Duration of the time step. -
validUntil
Time validUntil
Time when the current time slot ends.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.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 extends AbstractGTUFollowingModelMobil implements Serializable
- serialVersionUID:
- 20150206L
-
Serialized Fields
-
acceleration
Acceleration acceleration
Acceleration that will be returned in GTUFollowingModelResult by computeAcceleration. -
duration
Duration duration
Valid until time that will be returned in GTUFollowingModelResult by computeAcceleration.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.IDMOld extends AbstractGTUFollowingModelMobil implements Serializable
- serialVersionUID:
- 20141119L
-
Serialized Fields
-
a
Acceleration a
Maximum longitudinal acceleration [m/s^2]. -
b
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
Length s0
Preferred net longitudinal distance when stopped [m]. -
tSafe
Duration tSafe
Safe time headway.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.IDMPlusOld extends AbstractGTUFollowingModelMobil implements Serializable
- serialVersionUID:
- 20140704L
-
Serialized Fields
-
a
Acceleration a
Longitudinal acceleration [m/s^2]. -
b
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
Length s0
Preferred net longitudinal distance when stopped [m]. -
tSafe
Duration tSafe
Safe time headway.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.following.SequentialFixedAccelerationModel extends AbstractGTUFollowingModelMobil implements Serializable
- serialVersionUID:
- 20150206L
-
Serialized Fields
-
maximumSafeDeceleration
Acceleration maximumSafeDeceleration
The maximum safe deceleration. -
simulator
DEVSSimulatorInterface.TimeDoubleUnit 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 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 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 extends AbstractLaneBasedTacticalPlanner implements Serializable
- serialVersionUID:
- 20190731L
-
Serialized Fields
-
accelerationIncentives
LinkedHashSet<AccelerationIncentive> accelerationIncentives
Set of acceleration incentives. -
immutableAccelerationIncentives
ImmutableSet<AccelerationIncentive> immutableAccelerationIncentives
Immutable set of acceleration lane change incentives. -
immutableMandatoryIncentives
ImmutableSet<MandatoryIncentive> immutableMandatoryIncentives
Immutable set of mandatory lane change incentives. -
immutableVoluntaryIncentives
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 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 extends AbstractLaneBasedTacticalPlannerFactory<LMRS> implements Serializable
- 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 extends Route implements Serializable
- serialVersionUID:
- 20170124L
-
Serialized Fields
-
actualDeparturesBusStop
Map<String,Time> actualDeparturesBusStop
Map of actual departures stored per bus stop. -
actualDeparturesConflict
Map<String,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.steering
-
Class org.opentrafficsim.road.gtu.lane.tactical.steering.SteeringLmrs extends AbstractLaneBasedTacticalPlanner implements Serializable
- serialVersionUID:
- 20160300L
-
Serialized Fields
-
feedbackTable
Steering.FeedbackTable feedbackTable
Feedback table. -
laneChange
LaneChange laneChange
Lane change status. -
lmrsData
LmrsData lmrsData
LMRS data. -
mandatoryIncentives
LinkedHashSet<MandatoryIncentive> mandatoryIncentives
Set of mandatory lane change incentives. -
steeringState
Steering.SteeringState steeringState
Steering state. -
voluntaryIncentives
LinkedHashSet<VoluntaryIncentive> voluntaryIncentives
Set of voluntary lane change incentives.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.toledo
-
Class org.opentrafficsim.road.gtu.lane.tactical.toledo.InfrastructureLaneChangeInfoToledo extends InfrastructureLaneChangeInfo implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
splitNumber
int splitNumber
Split number, 0 if this info does not regard a split.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.toledo.Toledo extends AbstractLaneBasedTacticalPlanner implements Serializable
- serialVersionUID:
- 20160711L
-
Serialized Fields
-
laneChange
LaneChange laneChange
Lane change status.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoPerception extends LaneBasedAbstractPerceptionCategory implements Serializable
- serialVersionUID:
- 20160000L
-
Serialized Fields
-
infrastructureCategory
DirectInfrastructurePerception infrastructureCategory
Wrapped regular infrastructureCategory. -
infrastructureLaneChangeInfo
Map<RelativeLane,TimeStampedObject<SortedSet<InfrastructureLaneChangeInfoToledo>>> infrastructureLaneChangeInfo
Infrastructure lane change info per relative lane.
-
-
-
Package org.opentrafficsim.road.gtu.lane.tactical.util
-
Class org.opentrafficsim.road.gtu.lane.tactical.util.AnticipationInfo extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Class org.opentrafficsim.road.gtu.lane.tactical.util.CarFollowingUtil.CarFollowingHeadway extends AbstractHeadway implements Serializable
- serialVersionUID:
- 20180226L
-
Serialized Fields
-
speed
Speed speed
Speed of the leader.
-
-
Class org.opentrafficsim.road.gtu.lane.tactical.util.ConflictUtil.ConflictPlans extends Object implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
arrivalTimes
LinkedHashMap<String,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
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
-
Class org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Desire extends Object implements Serializable
- serialVersionUID:
- 20160413L
-
Serialized Fields
-
left
double left
Level of left desire. -
right
double right
Level of right desire.
-
-
-
Package org.opentrafficsim.road.gtu.strategical
-
Class org.opentrafficsim.road.gtu.strategical.AbstractLaneBasedStrategicalPlanner extends Object implements Serializable
- serialVersionUID:
- 20151126L
-
Serialized Fields
-
gtu
LaneBasedGTU gtu
GTU.
-
-
Class org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerNone extends AbstractLaneBasedStrategicalPlanner implements Serializable
- serialVersionUID:
- 20150724L
-
-
Package org.opentrafficsim.road.gtu.strategical.od
-
Class org.opentrafficsim.road.gtu.strategical.od.Categorization extends Object implements Serializable
- serialVersionUID:
- 20160921L
-
Class org.opentrafficsim.road.gtu.strategical.od.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.gtu.strategical.od.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
TimeVector globalTimeVector
Global time vector. -
id
String id
Id. -
origins
List<Node> origins
Origin nodes.
-
-
-
Package org.opentrafficsim.road.gtu.strategical.route
-
Class org.opentrafficsim.road.gtu.strategical.route.LaneBasedStrategicalRoutePlanner extends AbstractLaneBasedStrategicalPlanner implements Serializable
- serialVersionUID:
- 20150724L
-
Serialized Fields
-
destination
Node destination
Destination node. -
fixedTacticalPlanner
LaneBasedTacticalPlanner fixedTacticalPlanner
The fixed tactical planner to use for the GTU. -
origin
Node origin
Origin node. -
route
Route route
The route to drive. -
routeGenerator
RouteGeneratorOD routeGenerator
Route supplier.
-
-
Class org.opentrafficsim.road.gtu.strategical.route.LaneBasedStrategicalRoutePlannerFactory extends AbstractLaneBasedStrategicalPlannerFactory<LaneBasedStrategicalPlanner> implements Serializable
- serialVersionUID:
- 20160811L
-
Serialized Fields
-
routeGenerator
RouteGeneratorOD routeGenerator
Route supplier.
-
-
-
Package org.opentrafficsim.road.network
-
Class org.opentrafficsim.road.network.OTSRoadNetwork extends OTSNetwork implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
laneTypeMap
Map<String,LaneType> laneTypeMap
LaneTypes registered for this network. -
routeSystem
RouteSystem routeSystem
Route system.
-
-
-
Package org.opentrafficsim.road.network.factory
-
Class org.opentrafficsim.road.network.factory.PeekStack extends ArrayList<T> implements Serializable
- serialVersionUID:
- 20150624L
-
-
Package org.opentrafficsim.road.network.lane
-
Class org.opentrafficsim.road.network.lane.Barrier extends RoadMarkerAlong implements Serializable
- serialVersionUID:
- 20141025L
-
Class org.opentrafficsim.road.network.lane.CrossSectionElement extends EventProducer implements Serializable
- serialVersionUID:
- 20150826L
-
Serialized Fields
-
centerLine
OTSLine3D centerLine
The center line of the element. Calculated once at the creation. -
contour
OTSShape contour
The contour of the element. Calculated once at the creation. -
crossSectionSlices
List<CrossSectionSlice> crossSectionSlices
The offsets and widths at positions along the line, relative to the design line of the parent link. -
id
String id
The id. Should be unique within the parentLink. -
length
Length length
The length of the line. Calculated once at the creation. -
parentLink
CrossSectionLink parentLink
Cross Section Link to which the element belongs.
-
-
Class org.opentrafficsim.road.network.lane.CrossSectionLink extends OTSLink implements Serializable
- serialVersionUID:
- 20141015L
-
Serialized Fields
-
crossSectionElementList
List<CrossSectionElement> crossSectionElementList
List of cross-section elements. -
demandWeight
Double demandWeight
Fraction in range 0...1 to divide origin or destination flow over connectors. -
endLine
OTSLine3D 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. -
startLine
OTSLine3D startLine
Line over which GTUs enter or leave the link at the start node.
-
-
Class org.opentrafficsim.road.network.lane.CrossSectionSlice extends Object implements Serializable
- serialVersionUID:
- 20151126L
-
Serialized Fields
-
designLineOffset
Length designLineOffset
The lateral offset from the design line of the parentLink at the relative length. -
relativeLength
Length relativeLength
The relative position from the start, measured along the design line of the parent link. -
width
Length width
The width, positioned symmetrically around the position at the relative length.
-
-
Class org.opentrafficsim.road.network.lane.DirectedLanePosition extends Object implements Serializable
- serialVersionUID:
- 20151111L
-
Serialized Fields
-
gtuDirection
GTUDirectionality gtuDirection
The direction the vehicle is driving to -- either in the direction of the design line, or against it. -
lane
Lane lane
The lane for the position. -
linkDirection
LinkDirection linkDirection
Link direction. -
position
Length position
The position on the lane, relative to the cross section link (design line).
-
-
Class org.opentrafficsim.road.network.lane.Lane extends CrossSectionElement implements Serializable
- serialVersionUID:
- 20150826L
-
Serialized Fields
-
cachedHashCode
Integer cachedHashCode
Cache of the hashCode. -
cachedSpeedLimits
Map<GTUType,Speed> cachedSpeedLimits
Cached speed limits; these are cleared when a speed limit is changed. -
downLanes
MultiKeyMap<ImmutableMap<Lane,GTUDirectionality>> downLanes
Downstream lane(s) following this lane that some GTU types can drive onto given the direction. Initially empty so we can calculate and cache the first time the method is called. -
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
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
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,Map<Lane,GTUDirectionality>> nextLanes
Next lane(s) following this lane that some GTU types can drive from or onto. Next is defined in the direction of the design line. Initially null so we can calculate and cache the first time the method is called. -
prevLanes
Map<GTUType,Map<Lane,GTUDirectionality>> prevLanes
Previous lane(s) preceding this lane that some GTU types can drive from or onto. Previous is defined relative to the direction of the design line. Initially null so we can calculate and cache the first time the method is called. -
rightNeighbours
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. -
sensors
SortedMap<Double,List<SingleSensor>> sensors
Sensors on the lane to trigger behavior of the GTU, sorted by longitudinal position. The triggering of sensors is done per GTU type, so different GTUs can trigger different sensors. -
speedLimitMap
Map<GTUType,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 all GTU types, GTUType.ALL will be used. This means that the settings can be used additive, or subtractive.
In additive use, do not set the speed limit for GTUType.ALL. Now, one by one, the allowed maximum speeds for each of the GTU Types have be added. Do this when there are few GTU types or the speed limits per TU type are very different.
In subtractive use, set the speed limit for GTUType.ALL to the most common one. Override the speed limit for certain GTUTypes to a different value. An example is a lane on a highway where all vehicles, except truck (CAR, BUS, MOTORCYCLE, etc.), can drive 120 km/h, but trucks are allowed only 90 km/h. In that case, set the speed limit for GTUType.ALL to 120 km/h, and for TRUCK to 90 km/h. -
upLanes
MultiKeyMap<ImmutableMap<Lane,GTUDirectionality>> upLanes
Previous lane(s) preceding this lane that some GTU types can drive from given the direction. Initially empty so we can calculate and cache the first time the method is called.
-
-
Class org.opentrafficsim.road.network.lane.LaneDirection extends Object implements Serializable
- serialVersionUID:
- 20160330L
-
Serialized Fields
-
direction
GTUDirectionality direction
The GTU direction to drive on this lane. -
lane
Lane lane
The lane.
-
-
Class org.opentrafficsim.road.network.lane.LaneType extends HierarchicalType<LaneType> implements Serializable
- serialVersionUID:
- 20140821L
-
Serialized Fields
-
compatibility
GTUCompatibility<LaneType> compatibility
The compatibility of GTUs with this lane type. -
network
RoadNetwork network
the network to which the LinkType belongs.
-
-
Class org.opentrafficsim.road.network.lane.NoTrafficLane extends Lane implements Serializable
- serialVersionUID:
- 20150228L
-
Class org.opentrafficsim.road.network.lane.OTSRoadNode extends OTSNode implements Serializable
- serialVersionUID:
- 20190528L
-
Serialized Fields
-
direction
Direction direction
Direction of traffic at this node.
-
-
Class org.opentrafficsim.road.network.lane.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
Length longitudinalPosition
Longitudinal position on the cross section element.
-
-
Class org.opentrafficsim.road.network.lane.RoadMarkerAlong extends CrossSectionElement implements Serializable
- serialVersionUID:
- 20141025L
-
Serialized Fields
-
permeabilityMap
Map<GTUType,Set<LateralDirectionality>> permeabilityMap
Lateral permeability per GTU type and direction.
-
-
Class org.opentrafficsim.road.network.lane.Shoulder extends CrossSectionElement implements Serializable
- serialVersionUID:
- 20140819L
-
Class org.opentrafficsim.road.network.lane.Stripe extends RoadMarkerAlong implements Serializable
- serialVersionUID:
- 20151025L
-
-
Package org.opentrafficsim.road.network.lane.changing
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftAlwaysRightJam extends Object implements Serializable
- serialVersionUID:
- 20150913L
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.LeftAlwaysRightSpeed extends Object implements Serializable
- serialVersionUID:
- 20150913L
-
Serialized Fields
-
rightOvertakingSpeedMax
Speed rightOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.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 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 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
Speed rightOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightAlwaysLeftJam extends Object implements Serializable
- serialVersionUID:
- 20150913L
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.RightAlwaysLeftSpeed extends Object implements Serializable
- serialVersionUID:
- 20150913L
-
Serialized Fields
-
leftOvertakingSpeedMax
Speed leftOvertakingSpeedMax
The speed under which overtaking on the "wrong" side is allowed.
-
-
Class org.opentrafficsim.road.network.lane.changing.OvertakingConditions.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 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 extends Object implements Serializable
- serialVersionUID:
- 20150913L
-
Serialized Fields
-
leftOvertakingSpeedMax
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 extends AbstractLaneBasedObject implements Serializable
- serialVersionUID:
- 20160915L
-
Serialized Fields
-
cloneLock
Object cloneLock
Lock object for cloning a pair of conflicts. -
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. -
direction
GTUDirectionality direction
GTU direction. -
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
Time downstreamTime
Downstream GTUs update time. -
gtuType
GTUType gtuType
GTU type. -
length
Length length
The length of the conflict along the lane centerline. -
maxDownstreamVisibility
Length maxDownstreamVisibility
Distance within which downstreamGTUs are provided (is automatically enlarged). -
maxMaxTrafficLightDistance
Length maxMaxTrafficLightDistance
Maximum maximum search distance. -
maxUpstreamVisibility
Length maxUpstreamVisibility
Distance within which upstreamGTUs are provided (is automatically enlarged). -
otherClone
Conflict otherClone
Clone of other conflict. -
otherConflict
Conflict otherConflict
Accompanying other conflict. -
permitted
boolean permitted
Whether the conflict is a permitted conflict in traffic light control. -
root
LaneDirectionRecord root
Root for GTU search. -
rootPosition
Length rootPosition
Position on the root. -
simulator
SimulatorInterface.TimeDoubleUnit simulator
Simulator for animation and timed events. -
trafficLightDistance
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
Time upstreamTime
Upstream GTUs update time.
-
-
Class org.opentrafficsim.road.network.lane.conflict.Conflict.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 extends StaticObject implements Serializable
- serialVersionUID:
- 20160909L
-
Serialized Fields
-
direction
LongitudinalDirectionality direction
The direction in which this is valid. -
lane
Lane lane
The lane for which this is a sensor. -
location
DirectedPoint location
The DirectedPoint that indicates the location on the lane. -
longitudinalPosition
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 extends AbstractLaneBasedObject implements Serializable
- serialVersionUID:
- 20170124L
-
Class org.opentrafficsim.road.network.lane.object.Distraction extends AbstractLaneBasedObject implements Serializable
- serialVersionUID:
- 20180405L
-
Serialized Fields
-
profile
Distraction.DistractionProfile profile
Distraction profile.
-
-
Class org.opentrafficsim.road.network.lane.object.SpeedSign extends AbstractLaneBasedObject implements Serializable
- serialVersionUID:
- 20170420L
-
-
Package org.opentrafficsim.road.network.lane.object.sensor
-
Class org.opentrafficsim.road.network.lane.object.sensor.AbstractSensor extends AbstractLaneBasedObject implements Serializable
- serialVersionUID:
- 20141231L
-
Serialized Fields
-
detectedGTUTypes
Compatible detectedGTUTypes
The GTU types and driving directions that this sensor will trigger on. -
positionType
RelativePosition.TYPE positionType
The relative position of the vehicle that triggers the sensor. -
simulator
DEVSSimulatorInterface.TimeDoubleUnit simulator
The simulator for being able to generate an animation.
-
-
Class org.opentrafficsim.road.network.lane.object.sensor.DestinationSensor extends AbstractSensor implements Serializable
- serialVersionUID:
- 20150130L
-
Serialized Fields
-
destinationNode
Node destinationNode
the destination node for which this is the DestinationSensor.
-
-
Class org.opentrafficsim.road.network.lane.object.sensor.Detector extends AbstractSensor implements Serializable
- serialVersionUID:
- 20180312L
-
Serialized Fields
-
aggregation
Duration aggregation
Aggregation time. -
count
List<Frequency> count
Count per aggregation period. -
cumulDataMap
Map<Detector.DetectorMeasurement<?,?>,Object> cumulDataMap
Cumulative measurements. -
dataMap
Map<Detector.DetectorMeasurement<?,?>,List<?>> dataMap
Measurements per aggregation period. -
length
Length length
Detector length. -
overallCount
int overallCount
Count overall. -
period
int period
Period number. -
periodCount
int periodCount
Count in current period.
-
-
Class org.opentrafficsim.road.network.lane.object.sensor.SimpleReportingSensor extends AbstractSensor implements Serializable
- serialVersionUID:
- 20150130L
-
Class org.opentrafficsim.road.network.lane.object.sensor.SinkSensor extends AbstractSensor implements Serializable
- serialVersionUID:
- 20150130L
-
Class org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensor extends EventProducer implements Serializable
- serialVersionUID:
- 20161103L
-
Serialized Fields
-
currentGTUs
Set<LaneBasedGTU> currentGTUs
GTUs detected by the upSensor, but not yet removed by the downSensor. -
directionalityA
GTUDirectionality directionalityA
Which side of the position of flank sensor A is the TrafficLightSensor. -
directionalityB
GTUDirectionality directionalityB
Which side of the position of flank sensor B is the TrafficLightSensor. -
entryA
FlankSensor entryA
The sensor that detects when a GTU enters the sensor area at point A. -
entryB
FlankSensor entryB
The sensor that detects when a GTU enters the sensor area at point B. -
exitA
FlankSensor exitA
The sensor that detects when a GTU exits the sensor area at point A. -
exitB
FlankSensor exitB
The sensor that detects when a GTU exits the sensor area at point B. -
id
String id
Id of this TrafficLightSensor. -
lanes
Set<Lane> lanes
The lanes that the detector (partly) covers. -
network
OTSNetwork network
The OTS network. -
path
OTSLine3D path
Design line of the sensor.
-
-
-
Package org.opentrafficsim.road.network.lane.object.trafficlight
-
Class org.opentrafficsim.road.network.lane.object.trafficlight.AbstractTrafficLight extends AbstractLaneBasedObject implements Serializable
- serialVersionUID:
- 201601001L
-
Serialized Fields
-
simulator
DEVSSimulatorInterface.TimeDoubleUnit simulator
The simulator to schedule events on. -
trafficLightColor
TrafficLightColor trafficLightColor
The color of the traffic light.
-
-
Class org.opentrafficsim.road.network.lane.object.trafficlight.FlankSensor extends AbstractSensor implements Serializable
- serialVersionUID:
- 20161104L
-
Serialized Fields
-
parent
TrafficLightSensor parent
The parent that must be informed of all flanks.
-
-
Class org.opentrafficsim.road.network.lane.object.trafficlight.SimpleTrafficLight extends AbstractTrafficLight implements Serializable
- serialVersionUID:
- 201601001L
-
Class org.opentrafficsim.road.network.lane.object.trafficlight.TrafficLightException extends Exception implements Serializable
- serialVersionUID:
- 20161004L
-
-
Package org.opentrafficsim.road.network.sampling
-
Class org.opentrafficsim.road.network.sampling.RoadSampler extends Sampler<GtuData> implements Serializable
- serialVersionUID:
- 20200228L
-
Serialized Fields
-
eventPerGtu
Map<String,Map<LaneDirection,SimEventInterface<SimTimeDoubleUnit>>> eventPerGtu
Registration of sampling events of each GTU per lane, if interval based. -
listenersPerGtu
Map<String,Set<LaneDirection>> listenersPerGtu
List of lane the sampler is listening to for each GTU. Usually 1, could be 2 during a trajectory transition. -
network
OTSRoadNetwork network
Network. -
samplingInterval
Duration samplingInterval
Sampling interval. -
simulator
DEVSSimulatorInterface.TimeDoubleUnit simulator
Simulator.
-
-
-
Package org.opentrafficsim.road.network.speed
-
Class org.opentrafficsim.road.network.speed.SpeedInfoCurvature extends Object implements Serializable
- serialVersionUID:
- 20160501L
-
Serialized Fields
-
radius
Length radius
Curvature radius.
-
-
Class org.opentrafficsim.road.network.speed.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 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
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 extends Type<SpeedLimitType<T>> implements Serializable
- serialVersionUID:
- 20160501L
-
Class org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeed extends SpeedLimitType<Speed> implements Serializable
- serialVersionUID:
- 20160501L
-
Class org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeedLegal extends SpeedLimitTypeSpeed implements Serializable
- serialVersionUID:
- 20160501L
-