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
  • Method Details

    • getFactory

      LaneBasedStrategicalPlannerFactory<?> getFactory​(Node origin, Node destination, Category category, StreamInterface randomStream) throws GTUException
      Supplies a strategical factory.
      Parameters:
      origin - Node; origin
      destination - Node; destination
      category - 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

      Returns a StrategicalPlannerFactorySupplierOD using a LaneBasedStrategicalRoutePlannerFactory with 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