public interface StrategicalPlanner
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.
| Modifier and Type | Field and Description |
|---|---|
static ParameterTypeClass<StrategicalPlanner> |
STRATEGICAL_PLANNER
Parameter type for strategical planner.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
getDestination()
Returns the destination.
|
GTU |
getGtu()
Returns the GTU.
|
Node |
getOrigin()
Returns the origin.
|
Route |
getRoute()
Returns the route.
|
TacticalPlanner<?,?> |
getTacticalPlanner()
Get tactical planner for the GTU.
|
TacticalPlanner<?,?> |
getTacticalPlanner(Time time)
Get 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.
|
static final ParameterTypeClass<StrategicalPlanner> STRATEGICAL_PLANNER
GTU getGtu()
Route getRoute()
Node getOrigin()
Node getDestination()
TacticalPlanner<?,?> getTacticalPlanner()
TacticalPlanner<?,?> getTacticalPlanner(Time time)
time - Time; time at which to obtain the tactical plannerNode nextNode(Link link, GTUDirectionality direction, GTUType gtuType) throws NetworkException
link - Link; the link we are ondirection - GTUDirectionality; the direction the GTU is driving on the linkgtuType - GTUType; 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 - Link; the link we are ondirection - GTUDirectionality; the direction the GTU is driving on the linkgtuType - GTUType; 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 - Node; the node for which we want to find the successorpreviousLink - Link; the link before the node (needed to avoid making a U-turn)gtuType - GTUType; 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 - Node; the node for which we want to find the successor in the driving direction of the GTUpreviousLink - Link; the link before the node to avoid U-turngtuType - GTUType; 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–2019 Delft University of Technology. All rights reserved.