Class DeadEndUtil
java.lang.Object
org.opentrafficsim.road.gtu.tactical.util.DeadEndUtil
Utility for tactical planners so they can deal with dead-ens situations.
Copyright (c) 2026-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleOperationalPlandealWithDeadEnd(TacticalContextEgo context, SimpleOperationalPlan plan) Adjusts the simple operational plan to deal with dead-end situations.
-
Method Details
-
dealWithDeadEnd
public static SimpleOperationalPlan dealWithDeadEnd(TacticalContextEgo context, SimpleOperationalPlan plan) throws OperationalPlanException, ParameterException Adjusts the simple operational plan to deal with dead-end situations.- Parameters:
context- tactical information such as parameters and car-following modelplan- simple operational plan- Returns:
- adjusted simple operational plan to deal with dead-end situations
- Throws:
OperationalPlanException- if there is no infrastructure perceptionParameterException- if a required parameter is not present
-