Interface StrategicalPlannerFactorySupplierOD
public interface StrategicalPlannerFactorySupplierOD
Supplies a strategical planner factory within DefaultGTUCharacteristicsGeneratorOD.
 
 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.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version 26 mrt. 2018 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStrategicalPlannerFactorySupplierOD.TacticalPlannerFactorySupplierODInterface for tactical factory supplier based on OD information. - 
Method Summary
Modifier and Type Method Description LaneBasedStrategicalPlannerFactory<?>getFactory(Node origin, Node destination, Category category, StreamInterface randomStream)Supplies a strategical factory.static StrategicalPlannerFactorySupplierODlmrs()Returns a standard implementation for LMRS.static StrategicalPlannerFactorySupplierODroute(StrategicalPlannerFactorySupplierOD.TacticalPlannerFactorySupplierOD tacticalPlannerFactorySupplierOD)Returns aStrategicalPlannerFactorySupplierODusing aLaneBasedStrategicalRoutePlannerFactorywith a tactical planner factory based on the given supplier. 
- 
Method Details
- 
getFactory
LaneBasedStrategicalPlannerFactory<?> getFactory(Node origin, Node destination, Category category, StreamInterface randomStream) throws GTUExceptionSupplies a strategical factory.- Parameters:
 origin- Node; origindestination- Node; destinationcategory- Category; category (GTU type, route, or more)randomStream- StreamInterface; stream for random numbers- Returns:
 - LaneBasedGTUCharacteristics
 - Throws:
 GTUException- if characteristics could not be generated for the GTUException
 - 
lmrs
Returns a standard implementation for LMRS.- Returns:
 - standard implementation for LMRS
 
 - 
route
static StrategicalPlannerFactorySupplierOD route(StrategicalPlannerFactorySupplierOD.TacticalPlannerFactorySupplierOD tacticalPlannerFactorySupplierOD)Returns aStrategicalPlannerFactorySupplierODusing aLaneBasedStrategicalRoutePlannerFactorywith a tactical planner factory based on the given supplier. Simulations using this strategical level can be more easily specified in this manner.- Parameters:
 tacticalPlannerFactorySupplierOD- TacticalPlannerFactorySupplierOD; tactical planner factory based on OD information- Returns:
 - strategical factory with default strategical layer and specified tactical layer
 
 
 -