Class SingleCrossSectionSwitch

    • Constructor Detail

      • SingleCrossSectionSwitch

        public SingleCrossSectionSwitch​(Duration interval,
                                        List<Detector> detectors)
        Constructor.
        Parameters:
        interval - Duration; interval
        detectors - List<Detector>; detectors
    • Method Detail

      • meanSpeed

        protected final Speed meanSpeed()
        Returns the mean speed over the detectors.
        Returns:
        Speed; mean speed over the detectors
      • meanFlow

        protected final Frequency meanFlow()
        Returns the mean flow over the detectors.
        Returns:
        Frequency; mean flow over the detectors
      • totalFlow

        protected final Frequency totalFlow()
        Returns the total flow over the detectors.
        Returns:
        Frequency; total flow over the detectors