public interface StrategicalPlanner
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 |
|---|---|
TacticalPlanner |
generateTacticalPlanner(GTU gtu)
Generate a new tactical planner for the GTU.
|
LinkDirection |
nextLinkDirection(Link link,
GTUDirectionality direction,
GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a current Link we
are on.
|
LinkDirection |
nextLinkDirection(Node node,
Link previousLink,
GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a node and a
driving direction of the GTU.
|
Node |
nextNode(Link link,
GTUDirectionality direction,
GTUType gtuType)
Determine the next node in a network based on a current Link we are on.
|
Node |
nextNode(Node node,
Link previousLink,
GTUType gtuType)
Determine the next node in a network based on a given node.
|
TacticalPlanner generateTacticalPlanner(GTU gtu)
gtu - the gtu to generate the plan forNode nextNode(Link link, GTUDirectionality direction, GTUType gtuType) throws NetworkException
link - the link we are ondirection - the direction the GTU is driving on the linkgtuType - the GTUType to determine the next node forNetworkException - when no route planner is present or the final node in the current link cannot be found in the
routeLinkDirection nextLinkDirection(Link link, GTUDirectionality direction, GTUType gtuType) throws NetworkException
link - the link we are ondirection - the direction the GTU is driving on the linkgtuType - the GTUType to determine the next node forNetworkException - when no route planner is present or the final node in the current link cannot be found in the
routeNode nextNode(Node node, Link previousLink, GTUType gtuType) throws NetworkException
node - the node for which we want to find the successorpreviousLink - the link before the node to avoid U-turngtuType - the GTUType to determine the next node forNetworkException - when no route planner is present or the node cannot be found in the route of the GTULinkDirection nextLinkDirection(Node node, Link previousLink, GTUType gtuType) throws NetworkException
node - the node for which we want to find the successor in the driving direction of the GTUpreviousLink - the link before the node to avoid U-turngtuType - the GTUType to determine the next node forNetworkException - when no route planner is present or the final node in the current link cannot be found in the
routeCopyright © 2014–2016 Delft University of Technology. All rights reserved.