Class LaneBasedStrategicalPlannerNone
- java.lang.Object
-
- org.opentrafficsim.road.gtu.strategical.AbstractLaneBasedStrategicalPlanner
-
- org.opentrafficsim.road.gtu.strategical.LaneBasedStrategicalPlannerNone
-
- All Implemented Interfaces:
Serializable
,StrategicalPlanner
,LaneBasedStrategicalPlanner
public class LaneBasedStrategicalPlannerNone extends AbstractLaneBasedStrategicalPlanner implements Serializable
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Mar 31, 2016
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
All Methods Instance Methods Concrete Methods 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)
String
toString()
-
Methods inherited from class org.opentrafficsim.road.gtu.strategical.AbstractLaneBasedStrategicalPlanner
getGtu
-
-
-
-
Constructor Detail
-
LaneBasedStrategicalPlannerNone
public LaneBasedStrategicalPlannerNone(LaneBasedGTU gtu)
Constructor.- Parameters:
gtu
- LaneBasedGTU; GTU
-
-
Method Detail
-
getTacticalPlanner
public final LaneBasedTacticalPlanner getTacticalPlanner()
- Specified by:
getTacticalPlanner
in interfaceLaneBasedStrategicalPlanner
- Specified by:
getTacticalPlanner
in interfaceStrategicalPlanner
-
getTacticalPlanner
public final LaneBasedTacticalPlanner getTacticalPlanner(Time time)
- 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
public final Node nextNode(Node node, Link previousLink, GTUType gtuType) throws NetworkException
- 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
public final Route getRoute()
- Specified by:
getRoute
in interfaceStrategicalPlanner
-
getOrigin
public final Node getOrigin()
- Specified by:
getOrigin
in interfaceStrategicalPlanner
-
getDestination
public final Node getDestination()
- Specified by:
getDestination
in interfaceStrategicalPlanner
-
-