Class TotalTravelDistance

    • Constructor Detail

      • TotalTravelDistance

        public TotalTravelDistance()
    • Method Detail

      • calculate

        protected <G extends GtuDataInterfaceLength calculate​(Query<G> query,
                                                                Time startTime,
                                                                Time endTime,
                                                                List<TrajectoryGroup<G>> trajectoryGroups)
        Calculate value for given trajectory group.
        Specified by:
        calculate in class AbstractIndicator<Length>
        Type Parameters:
        G - gtu data type
        Parameters:
        query - Query<G>; query
        startTime - Time; start time of interval to calculate indicator over
        endTime - Time; start time of interval to calculate indicator over
        trajectoryGroups - List<TrajectoryGroup<G>>; group of trajectories to calculate the indicator for
        Returns:
        value for given trajectory group