public interface LaneBasedTacticalPlanner extends TacticalPlanner<LaneBasedGTU,LanePerception>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
TACTICAL_PLANNER| Modifier and Type | Method and Description |
|---|---|
default LaneDirection |
chooseLaneAtSplit(Set<LaneDirection> lanes)
Selects a lane from a possible set.
|
CarFollowingModel |
getCarFollowingModel()
Returns the car-following model.
|
default Length |
okDistance(LaneDirection lane,
Length distance,
Route route,
Length maxDistance)
Helper method for default chooseLaneAtSplit implementation that returns the distance from this lane onwards where the
route can be followed.
|
default LaneDirection |
rightMost(LaneDirection lane1,
LaneDirection lane2)
Returns the right-most of two lanes.
|
generateOperationalPlan, getGtu, getPerceptionCarFollowingModel getCarFollowingModel()
default LaneDirection chooseLaneAtSplit(Set<LaneDirection> lanes) throws ParameterException
lanes - Set<LaneDirection>; set of lane directions possibleParameterException - in case of a missing parameterdefault Length okDistance(LaneDirection lane, Length distance, Route route, Length maxDistance)
lane - LaneDirection; lane and directiondistance - Length; distance so farroute - Route; routemaxDistance - Length; max search distancedefault LaneDirection rightMost(LaneDirection lane1, LaneDirection lane2)
lane1 - LaneDirection; lane 1lane2 - LaneDirection; lane 2Copyright © 2014–2019 Delft University of Technology. All rights reserved.