Class LmrsFactory.Setting<V>
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.lmrs.LmrsFactory.Setting<V>
- Type Parameters:
V- setting value type
- Enclosing class:
- LmrsFactory<T extends AbstractIncentivesTacticalPlanner>
Settings class with static instances.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LmrsFactory.Setting<Boolean>Acceleration incentive to approach intersection conflicts (default: false).static final LmrsFactory.Setting<Boolean>Acceleration incentive to not overtake traffic in the left lane (default: false).static final LmrsFactory.Setting<Boolean>Acceleration incentive to slow down prior to a lower speed limit (default: false).static final LmrsFactory.Setting<Boolean>Acceleration incentive to approach traffic lights (default: false).static final LmrsFactory.Setting<Boolean>Enables behavioral headway adaptation (default: true).static final LmrsFactory.Setting<Boolean>Enables behavioral voluntary lane change adaptation (default: false).static final LmrsFactory.Setting<Boolean>Enables behavioral speed adaptation (default: true).static final LmrsFactory.Setting<Boolean>Enables behavioral update time adaptation under ATTENTION_MATRIX (default: false).static final LmrsFactory.Setting<BiFunction<DesiredHeadwayModel,DesiredSpeedModel, CarFollowingModel>> Car-following model: IDM or IDM_PLUS (default).static final LmrsFactory.Setting<Cooperation>Lane change cooperation: PASSIVE (default), PASSIVE_MOVING or ACTIVE.static final LmrsFactory.Setting<Set<Supplier<AccelerationIncentive>>>Custom acceleration incentives.static final LmrsFactory.Setting<Set<Supplier<MandatoryIncentive>>>Custom mandatory lane change incentives.static final LmrsFactory.Setting<Set<Supplier<VoluntaryIncentive>>>Custom voluntary lane change incentives.static final LmrsFactory.Setting<Double>Fraction of drivers over-estimating speed and distance [0..1] (default: 0).static final LmrsFactory.Setting<LmrsFactory.FullerImplementation>Implementation of Fuller: NONE (default), SUMMATIVE, ANTICIPATION_RELIANCE or ATTENTION_MATRIX.static final LmrsFactory.Setting<GapAcceptance>Lane change gap-acceptance: INFORMED (default) or EGO_HEADWAY.static final LmrsFactory.Setting<Boolean>Voluntary lane change incentive for cooperative lane changes (default: false).static final LmrsFactory.Setting<Boolean>Mandatory lane change incentive to join slow traffic at split and not block other traffic (default: false).static final LmrsFactory.Setting<Boolean>Voluntary lane change incentive to keep to the slow lane (default: true).static final LmrsFactory.Setting<Boolean>Voluntary lane change incentive to join the shortest queue (default: false).static final LmrsFactory.Setting<Boolean>Mandatory lane change incentive for route (default: true).static final LmrsFactory.Setting<Boolean>Voluntary lane change incentive for speed with courtesy (default: true).static final LmrsFactory.Setting<Boolean>Voluntary lane change incentive for trucks to stay in slowest rightmost two lanes (default: false).static final LmrsFactory.Setting<String>Id of primary task under ANTICIPATION_RELIANCE (default: lane-changing).static final LmrsFactory.Setting<Boolean>Enables lane changes due to social pressure (default: false).static final LmrsFactory.Setting<Boolean>Enables speed increase due to social pressure (default: false).static final LmrsFactory.Setting<Boolean>Enables tailgating.static final LmrsFactory.Setting<Synchronization>Lane change synchronization: PASSIVE (default), PASSIVE_MOVING, ALIGN_GAP or ACTIVE.static final LmrsFactory.Setting<Boolean>Enables car-following task (default: true).static final LmrsFactory.Setting<Boolean>Enables alternate car-following task (default: false).static final LmrsFactory.Setting<Boolean>Enables conflicts task under ATTENTION_MATRIX (default: false).static final LmrsFactory.Setting<Boolean>Enables cooperation task under ATTENTION_MATRIX (default: true).static final LmrsFactory.Setting<Boolean>Enables free acceleration task under ATTENTION_MATRIX (default: false).static final LmrsFactory.Setting<Boolean>Enables lane-changing task (default: true).static final LmrsFactory.Setting<Boolean>Enables alternate lane-changing task (default: false).static final LmrsFactory.Setting<Boolean>Enables road-side distraction task (default: false).static final LmrsFactory.Setting<Boolean>Enables signal task under ATTENTION_MATRIX (default: true).static final LmrsFactory.Setting<Boolean>Enables traffic lights task under ATTENTION_MATRIX (default: false).static final LmrsFactory.Setting<Boolean>Enables temporal constant-speed anticipation (default: true). -
Method Summary
Modifier and TypeMethodDescriptionFunction<LmrsFactory<?>,List<V>> Returns the list function to return the right list from the factory.
-
Field Details
-
CAR_FOLLOWING_MODEL
public static final LmrsFactory.Setting<BiFunction<DesiredHeadwayModel,DesiredSpeedModel, CAR_FOLLOWING_MODELCarFollowingModel>> Car-following model: IDM or IDM_PLUS (default). -
SYNCHRONIZATION
Lane change synchronization: PASSIVE (default), PASSIVE_MOVING, ALIGN_GAP or ACTIVE. -
COOPERATION
Lane change cooperation: PASSIVE (default), PASSIVE_MOVING or ACTIVE. -
GAP_ACCEPTANCE
Lane change gap-acceptance: INFORMED (default) or EGO_HEADWAY. -
INCENTIVE_ROUTE
Mandatory lane change incentive for route (default: true). -
INCENTIVE_GET_IN_LANE
Mandatory lane change incentive to join slow traffic at split and not block other traffic (default: false). -
CUSTOM_MANDATORY_INCENTIVES
public static final LmrsFactory.Setting<Set<Supplier<MandatoryIncentive>>> CUSTOM_MANDATORY_INCENTIVESCustom mandatory lane change incentives. -
INCENTIVE_SPEED_WITH_COURTESY
Voluntary lane change incentive for speed with courtesy (default: true). -
INCENTIVE_COURTESY
Voluntary lane change incentive for cooperative lane changes (default: false). -
INCENTIVE_QUEUE
Voluntary lane change incentive to join the shortest queue (default: false). -
INCENTIVE_STAY_RIGHT
Voluntary lane change incentive for trucks to stay in slowest rightmost two lanes (default: false). -
INCENTIVE_KEEP
Voluntary lane change incentive to keep to the slow lane (default: true). -
CUSTOM_VOLUNTARY_INCENTIVES
public static final LmrsFactory.Setting<Set<Supplier<VoluntaryIncentive>>> CUSTOM_VOLUNTARY_INCENTIVESCustom voluntary lane change incentives. -
ACCELERATION_SPEED_LIMIT_TRANSITION
Acceleration incentive to slow down prior to a lower speed limit (default: false). -
ACCELERATION_TRAFFIC_LIGHTS
Acceleration incentive to approach traffic lights (default: false). -
ACCELERATION_CONFLICTS
Acceleration incentive to approach intersection conflicts (default: false). -
ACCELERATION_NO_RIGHT_OVERTAKE
Acceleration incentive to not overtake traffic in the left lane (default: false). -
CUSTOM_ACCELERATION_INCENTIVES
public static final LmrsFactory.Setting<Set<Supplier<AccelerationIncentive>>> CUSTOM_ACCELERATION_INCENTIVESCustom acceleration incentives. -
FULLER_IMPLEMENTATION
Implementation of Fuller: NONE (default), SUMMATIVE, ANTICIPATION_RELIANCE or ATTENTION_MATRIX. -
PRIMARY_TASK
Id of primary task under ANTICIPATION_RELIANCE (default: lane-changing). -
TEMPORAL_ANTICIPATION
Enables temporal constant-speed anticipation (default: true). -
FRACTION_OVERESTIMATION
Fraction of drivers over-estimating speed and distance [0..1] (default: 0). -
TASK_CAR_FOLLOWING
Enables car-following task (default: true). -
TASK_CAR_FOLLOWING_ALTERNATE
Enables alternate car-following task (default: false). -
TASK_FREE_ACCELERATION
Enables free acceleration task under ATTENTION_MATRIX (default: false). -
TASK_TRAFFIC_LIGHTS
Enables traffic lights task under ATTENTION_MATRIX (default: false). -
TASK_SIGNAL
Enables signal task under ATTENTION_MATRIX (default: true). -
TASK_LANE_CHANGE
Enables lane-changing task (default: true). -
TASK_LANE_CHANGE_ALTERNATE
Enables alternate lane-changing task (default: false). -
TASK_COOPERATION
Enables cooperation task under ATTENTION_MATRIX (default: true). -
TASK_CONFLICTS
Enables conflicts task under ATTENTION_MATRIX (default: false). -
TASK_ROADSIDE_DISTRACTION
Enables road-side distraction task (default: false). -
ADAPTATION_SPEED
Enables behavioral speed adaptation (default: true). -
ADAPTATION_HEADWAY
Enables behavioral headway adaptation (default: true). -
ADAPTATION_LANE_CHANGE
Enables behavioral voluntary lane change adaptation (default: false). -
ADAPTATION_UPDATE_TIME
Enables behavioral update time adaptation under ATTENTION_MATRIX (default: false). -
SOCIO_TAILGATING
Enables tailgating. Without tailgating, any social interaction still results in social pressure (default: false). -
SOCIO_LANE_CHANGE
Enables lane changes due to social pressure (default: false). -
SOCIO_SPEED
Enables speed increase due to social pressure (default: false).
-
-
Method Details
-
getListFunction
Returns the list function to return the right list from the factory.- Returns:
- list function to return the right list from the factory
-