Class RouteGeneratorOD.DefaultRouteGenerator

    • Constructor Detail

      • DefaultRouteGenerator

        public DefaultRouteGenerator​(StreamInterface stream)
        Constructor.
        Parameters:
        stream - StreamInterface; stream of random numbers
    • Method Detail

      • getRoute

        public Route getRoute​(Node origin,
                              Node destination,
                              GTUType gtuType)
        Description copied from interface: RouteGeneratorOD
        Returns a route.
        Specified by:
        getRoute in interface RouteGeneratorOD
        Parameters:
        origin - Node; origin
        destination - Node; destination
        gtuType - GTUType; gtu type
        Returns:
        Route; route