Class MeanIntensity

    • Constructor Detail

      • MeanIntensity

        public MeanIntensity​(TotalTravelDistance travelDistance)
        Parameters:
        travelDistance - TotalTravelDistance; travel distance indicator
    • Method Detail

      • calculate

        protected <G extends GtuDataInterfaceFrequency calculate​(Query<G> query,
                                                                   Time startTime,
                                                                   Time endTime,
                                                                   List<TrajectoryGroup<G>> trajectoryGroups)
        Calculate value for given trajectory group.
        Specified by:
        calculate in class AbstractIndicator<Frequency>
        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