| Package | Description | 
|---|---|
| org.opentrafficsim.road.gtu.lane.perception | 
 Implementation of lane-based perception for the GTU. 
 | 
| org.opentrafficsim.road.gtu.lane.perception.categories | 
 Categories define a set of perceivable information. 
 | 
| org.opentrafficsim.road.gtu.lane.perception.mental | 
 Mental mechanisms are a part of perception. 
 | 
| org.opentrafficsim.road.gtu.lane.tactical | 
 Tactical planners for a lane-based GTU. 
 | 
| org.opentrafficsim.road.gtu.lane.tactical.directedlanechange | 
 Classes that deal with lane changing models. 
 | 
| org.opentrafficsim.road.gtu.lane.tactical.lmrs | 
 Classes that implement the LMRS lane change model integrated with a car-following model forming a tactical planner. 
 | 
| org.opentrafficsim.road.gtu.lane.tactical.toledo | 
 
 Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. 
 | 
| org.opentrafficsim.road.gtu.lane.tactical.util.lmrs | 
 LMRS (Lane change Model with Relaxation and Synchronization) utilities for tactical planner. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractLanePerception
The perception module of a GTU based on lanes. 
 | 
class  | 
CategoricalLanePerception
Standard perception completely based on connected perception categories. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LanePerception | 
PerceptionFactory.generatePerception(LaneBasedGTU gtu)
Generate perception. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Mental.apply(LanePerception perception)
Apply mental model on perception. 
 | 
void | 
Fuller.apply(LanePerception perception)
Apply mental model on perception. 
 | 
double | 
TaskRoadSideDistraction.demand(LanePerception perception,
      LaneBasedGTU gtu,
      org.opentrafficsim.base.parameters.Parameters parameters)
Returns the demand of this task. 
 | 
double | 
TaskHeadwayBased.demand(LanePerception perception,
      LaneBasedGTU gtu,
      org.opentrafficsim.base.parameters.Parameters parameters)
Returns the demand of this task. 
 | 
double | 
Fuller.Task.demand(LanePerception perception,
      LaneBasedGTU gtu,
      org.opentrafficsim.base.parameters.Parameters parameters)
Returns the demand of this task. 
 | 
double | 
Fuller.Task.Constant.demand(LanePerception perception,
      LaneBasedGTU gtu,
      org.opentrafficsim.base.parameters.Parameters parameters)
Returns the demand of this task. 
 | 
double | 
TaskLaneChanging.LateralConsideration.getConsideration(LanePerception perception,
                LaneBasedGTU gtu,
                org.opentrafficsim.base.parameters.Parameters parameters)
Returns fraction of lateral consideration, <0 for left lane, >0 for right lane. 
 | 
protected org.djunits.value.vdouble.scalar.Duration | 
TaskLaneChanging.getHeadway(LanePerception perception,
          LaneBasedGTU gtu,
          org.opentrafficsim.base.parameters.Parameters parameters)
Returns a collector for the task demand. 
 | 
protected abstract org.djunits.value.vdouble.scalar.Duration | 
TaskHeadwayBased.getHeadway(LanePerception perception,
          LaneBasedGTU gtu,
          org.opentrafficsim.base.parameters.Parameters parameters)
Returns a collector for the task demand. 
 | 
protected org.djunits.value.vdouble.scalar.Duration | 
TaskCarFollowing.getHeadway(LanePerception perception,
          LaneBasedGTU gtu,
          org.opentrafficsim.base.parameters.Parameters parameters)
Returns a collector for the task demand. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LanePerception | 
AbstractLaneBasedTacticalPlanner.getPerception() | 
| Constructor and Description | 
|---|
AbstractLaneBasedTacticalPlanner(CarFollowingModel carFollowingModel,
                                LaneBasedGTU gtu,
                                LanePerception lanePerception)
Instantiates a tactical planner. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LanePerception | 
DirectedLaneChangeModel.getPerception()  | 
LanePerception | 
DirectedFixedLaneChangeModel.getPerception() | 
LanePerception | 
AbstractDirectedLaneChangeModel.getPerception() | 
| Constructor and Description | 
|---|
AbstractDirectedLaneChangeModel(LanePerception perception)
Construct a DirectedLaneChangeModel. 
 | 
DirectedAltruistic(LanePerception perception)  | 
DirectedEgoistic(LanePerception perception)  | 
| Modifier and Type | Method and Description | 
|---|---|
LanePerception | 
DefaultLMRSPerceptionFactory.generatePerception(LaneBasedGTU gtu)
Generate perception. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AccelerationTrafficLights.accelerate(SimpleOperationalPlan simplePlan,
          RelativeLane lane,
          LaneBasedGTU gtu,
          LanePerception perception,
          CarFollowingModel carFollowingModel,
          org.djunits.value.vdouble.scalar.Speed speed,
          org.opentrafficsim.base.parameters.Parameters params,
          SpeedLimitInfo speedLimitInfo)
Determine acceleration. 
 | 
void | 
AccelerationSpeedLimitTransition.accelerate(SimpleOperationalPlan simplePlan,
          RelativeLane lane,
          LaneBasedGTU gtu,
          LanePerception perception,
          CarFollowingModel carFollowingModel,
          org.djunits.value.vdouble.scalar.Speed speed,
          org.opentrafficsim.base.parameters.Parameters params,
          SpeedLimitInfo speedLimitInfo)
Determine acceleration. 
 | 
void | 
AccelerationNoRightOvertake.accelerate(SimpleOperationalPlan simplePlan,
          RelativeLane lane,
          LaneBasedGTU gtu,
          LanePerception perception,
          CarFollowingModel carFollowingModel,
          org.djunits.value.vdouble.scalar.Speed speed,
          org.opentrafficsim.base.parameters.Parameters params,
          SpeedLimitInfo speedLimitInfo)
Determine acceleration. 
 | 
void | 
AccelerationIncentive.accelerate(SimpleOperationalPlan simplePlan,
          RelativeLane lane,
          LaneBasedGTU gtu,
          LanePerception perception,
          CarFollowingModel carFollowingModel,
          org.djunits.value.vdouble.scalar.Speed speed,
          org.opentrafficsim.base.parameters.Parameters params,
          SpeedLimitInfo speedLimitInfo)
Determine acceleration. 
 | 
void | 
AccelerationConflicts.accelerate(SimpleOperationalPlan simplePlan,
          RelativeLane lane,
          LaneBasedGTU gtu,
          LanePerception perception,
          CarFollowingModel carFollowingModel,
          org.djunits.value.vdouble.scalar.Speed speed,
          org.opentrafficsim.base.parameters.Parameters params,
          SpeedLimitInfo speedLimitInfo)
Determine acceleration. 
 | 
void | 
AccelerationBusStop.accelerate(SimpleOperationalPlan simplePlan,
          RelativeLane lane,
          LaneBasedGTU gtu,
          LanePerception perception,
          CarFollowingModel carFollowingModel,
          org.djunits.value.vdouble.scalar.Speed speed,
          org.opentrafficsim.base.parameters.Parameters params,
          SpeedLimitInfo speedLimitInfo)
Determine acceleration. 
 | 
Desire | 
IncentiveRoute.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveGetInLane.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveDummy.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveBusStop.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveStayRight.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveSpeedWithCourtesy.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveSpeed.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveSocioSpeed.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveKeep.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
IncentiveCourtesy.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
| Constructor and Description | 
|---|
LMRS(CarFollowingModel carFollowingModel,
    LaneBasedGTU gtu,
    LanePerception lanePerception,
    Synchronization synchronization,
    Cooperation cooperation,
    GapAcceptance gapAcceptance,
    Tailgating tailGating)
Constructor setting the car-following model. 
 | 
| Constructor and Description | 
|---|
ToledoPerception(LanePerception perception)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
GapAcceptance.acceptGap(LanePerception perception,
         org.opentrafficsim.base.parameters.Parameters params,
         SpeedLimitInfo sli,
         CarFollowingModel cfm,
         double desire,
         org.djunits.value.vdouble.scalar.Speed ownSpeed,
         org.djunits.value.vdouble.scalar.Acceleration ownAcceleration,
         org.opentrafficsim.core.network.LateralDirectionality lat)
Determine whether a gap is acceptable. 
 | 
(package private) static boolean | 
LmrsUtil.acceptLaneChange(LanePerception perception,
                org.opentrafficsim.base.parameters.Parameters params,
                SpeedLimitInfo sli,
                CarFollowingModel cfm,
                double desire,
                org.djunits.value.vdouble.scalar.Speed ownSpeed,
                org.djunits.value.vdouble.scalar.Acceleration ownAcceleration,
                org.opentrafficsim.core.network.LateralDirectionality lat,
                GapAcceptance gapAcceptance)
Determine whether a lane change is acceptable (gap, lane markings, etc.). 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
Cooperation.cooperate(LanePerception perception,
         org.opentrafficsim.base.parameters.Parameters params,
         SpeedLimitInfo sli,
         CarFollowingModel cfm,
         org.opentrafficsim.core.network.LateralDirectionality lat,
         Desire ownDesire)
Determine acceleration for cooperation. 
 | 
Desire | 
MandatoryIncentive.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
Desire | 
VoluntaryIncentive.determineDesire(org.opentrafficsim.base.parameters.Parameters parameters,
               LanePerception perception,
               CarFollowingModel carFollowingModel,
               Desire mandatoryDesire,
               Desire voluntaryDesire)
Determines level of lane change desire for a lane change incentive. 
 | 
static SimpleOperationalPlan | 
LmrsUtil.determinePlan(LaneBasedGTU gtu,
             org.djunits.value.vdouble.scalar.Time startTime,
             CarFollowingModel carFollowingModel,
             LaneChange laneChange,
             LmrsData lmrsData,
             LanePerception perception,
             LinkedHashSet<MandatoryIncentive> mandatoryIncentives,
             LinkedHashSet<VoluntaryIncentive> voluntaryIncentives)
Determines a simple representation of an operational plan. 
 | 
static org.djunits.value.vdouble.scalar.Acceleration | 
GapAcceptance.egoAcceleration(LanePerception perception,
               org.opentrafficsim.base.parameters.Parameters params,
               SpeedLimitInfo sli,
               CarFollowingModel cfm,
               double desire,
               org.djunits.value.vdouble.scalar.Speed ownSpeed,
               org.opentrafficsim.core.network.LateralDirectionality lat)
Determine whether a gap is acceptable. 
 | 
static Desire | 
LmrsUtil.getLaneChangeDesire(org.opentrafficsim.base.parameters.Parameters parameters,
                   LanePerception perception,
                   CarFollowingModel carFollowingModel,
                   LinkedHashSet<MandatoryIncentive> mandatoryIncentives,
                   LinkedHashSet<VoluntaryIncentive> voluntaryIncentives,
                   Map<Class<? extends Incentive>,Desire> desireMap)
Determines lane change desire for the given RSU. 
 | 
static org.djunits.value.vdouble.scalar.Length | 
Synchronization.getMergeDistance(LanePerception perception,
                org.opentrafficsim.core.network.LateralDirectionality lat)
Returns the distance to the next merge, stopping within this distance is futile for a lane change. 
 | 
static PerceptionCollectable<HeadwayGTU,LaneBasedGTU> | 
Synchronization.removeAllUpstreamOfConflicts(PerceptionCollectable<HeadwayGTU,LaneBasedGTU> set,
                            LanePerception perception,
                            RelativeLane relativeLane)
Removes all GTUs from the set, that are found upstream on the conflicting lane of a conflict in the current lane. 
 | 
org.djunits.value.vdouble.scalar.Acceleration | 
Synchronization.synchronize(LanePerception perception,
           org.opentrafficsim.base.parameters.Parameters params,
           SpeedLimitInfo sli,
           CarFollowingModel cfm,
           double desire,
           org.opentrafficsim.core.network.LateralDirectionality lat,
           LmrsData lmrsData)
Determine acceleration for synchronization. 
 | 
void | 
Tailgating.tailgate(LanePerception perception,
        org.opentrafficsim.base.parameters.Parameters parameters)
Apply tailgating. 
 | 
Copyright © 2014–2018 Delft University of Technology. All rights reserved.