Class TotalDelay

    • Constructor Detail

      • TotalDelay

        public TotalDelay​(Speed referenceSpeed)
        Parameters:
        referenceSpeed - Speed; reference speed for delay
    • Method Detail

      • calculate

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