Class LaneBasedStrategicalPlannerNone
java.lang.Object
org.opentrafficsim.road.gtu.strategical.AbstractLaneBasedStrategicalPlanner
org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerNone
- All Implemented Interfaces:
java.io.Serializable
,StrategicalPlanner
,LaneBasedStrategicalPlanner
public class LaneBasedStrategicalPlannerNone extends AbstractLaneBasedStrategicalPlanner implements java.io.Serializable
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from interface org.opentrafficsim.core.gtu.plan.strategical.StrategicalPlanner
STRATEGICAL_PLANNER
-
Constructor Summary
Constructors Constructor Description LaneBasedStrategicalPlannerNone(LaneBasedGTU gtu)
Constructor. -
Method Summary
Modifier and Type Method Description Node
getDestination()
Node
getOrigin()
Route
getRoute()
LaneBasedTacticalPlanner
getTacticalPlanner()
LaneBasedTacticalPlanner
getTacticalPlanner(Time time)
LinkDirection
nextLinkDirection(Link link, GTUDirectionality direction, GTUType gtuType)
LinkDirection
nextLinkDirection(Node node, Link previousLink, GTUType gtuType)
Node
nextNode(Link link, GTUDirectionality direction, GTUType gtuType)
Node
nextNode(Node node, Link previousLink, GTUType gtuType)
java.lang.String
toString()
Methods inherited from class org.opentrafficsim.road.gtu.strategical.AbstractLaneBasedStrategicalPlanner
getGtu
-
Constructor Details
-
LaneBasedStrategicalPlannerNone
Constructor.- Parameters:
gtu
- LaneBasedGTU; GTU
-
-
Method Details
-
getTacticalPlanner
- Specified by:
getTacticalPlanner
in interfaceLaneBasedStrategicalPlanner
- Specified by:
getTacticalPlanner
in interfaceStrategicalPlanner
-
getTacticalPlanner
- Specified by:
getTacticalPlanner
in interfaceLaneBasedStrategicalPlanner
- Specified by:
getTacticalPlanner
in interfaceStrategicalPlanner
-
nextNode
public final Node nextNode(Link link, GTUDirectionality direction, GTUType gtuType) throws NetworkException- Specified by:
nextNode
in interfaceStrategicalPlanner
- Throws:
NetworkException
-
nextLinkDirection
public final LinkDirection nextLinkDirection(Link link, GTUDirectionality direction, GTUType gtuType) throws NetworkException- Specified by:
nextLinkDirection
in interfaceStrategicalPlanner
- Throws:
NetworkException
-
nextNode
- Specified by:
nextNode
in interfaceStrategicalPlanner
- Throws:
NetworkException
-
nextLinkDirection
public final LinkDirection nextLinkDirection(Node node, Link previousLink, GTUType gtuType) throws NetworkException- Specified by:
nextLinkDirection
in interfaceStrategicalPlanner
- Throws:
NetworkException
-
getRoute
- Specified by:
getRoute
in interfaceStrategicalPlanner
-
getOrigin
- Specified by:
getOrigin
in interfaceStrategicalPlanner
-
getDestination
- Specified by:
getDestination
in interfaceStrategicalPlanner
-
toString
public final java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-