public interface LaneChangeModel
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
LaneMovementStep |
computeLaneChangeAndAcceleration(LaneBasedGTU gtu,
Collection<HeadwayGTU> sameLaneTraffic,
Collection<HeadwayGTU> rightLaneTraffic,
Collection<HeadwayGTU> leftLaneTraffic,
org.djunits.value.vdouble.scalar.Speed speedLimit,
org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive,
org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold,
org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive)
Compute the acceleration and lane change.
|
String |
getLongName()
Return complete textual information about this instantiation of this GTU following model.
|
String |
getName()
Return the name of this GTU following model.
|
LaneMovementStep computeLaneChangeAndAcceleration(LaneBasedGTU gtu, Collection<HeadwayGTU> sameLaneTraffic, Collection<HeadwayGTU> rightLaneTraffic, Collection<HeadwayGTU> leftLaneTraffic, org.djunits.value.vdouble.scalar.Speed speedLimit, org.djunits.value.vdouble.scalar.Acceleration preferredLaneRouteIncentive, org.djunits.value.vdouble.scalar.Acceleration laneChangeThreshold, org.djunits.value.vdouble.scalar.Acceleration nonPreferredLaneRouteIncentive)
gtu - GTU; the GTU for which the acceleration and lane change is computedsameLaneTraffic - Collection<GTU>; the set of observable GTUs in the current lane (can not be null and may
include the gtu)rightLaneTraffic - Collection<GTU>; the set of observable GTUs in the adjacent lane where GTUs should drive in
the absence of other traffic (must be null if there is no such lane)leftLaneTraffic - Collection<GTU>; the set of observable GTUs in the adjacent lane into which GTUs should
merge to overtake other traffic (must be null if there is no such lane)speedLimit - DoubleScalarAbs<SpeedUnit>; the local speed limitpreferredLaneRouteIncentive - DoubleScalar.Rel<AccelerationUnit>; route incentive to merge to the adjacent
lane where GTUs should drive in the absence of other trafficlaneChangeThreshold - DoubleScalar.Rel<AccelerationUnit>; threshold that prevents lane changes that have very
little benefitnonPreferredLaneRouteIncentive - DoubleScalar.Rel<AccelerationUnit>; route incentive to merge to the adjacent
lane into which GTUs should merge to overtake other trafficString getName()
String getLongName()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.