Interface AccelerationIncentive

    • Method Detail

      • onRoute

        default <T extends HeadwayLaneBasedObjectIterable<T> onRoute​(Iterable<T> iterable,
                                                                       LaneBasedGTU gtu)
        Returns an iterable with only those lane-based objects that are on the route, accounting for longitudinal direction of the GTU type.
        Type Parameters:
        T - type of lane-based object
        Parameters:
        iterable - Iterable<T>; iterable
        gtu - LaneBasedGTU; gtu
        Returns:
        Iterable<T>; iterable with only those lane-based objects that are on the route