Class AbstractScheduler<T extends ObservedMeasurement<T>>

    • Constructor Detail

      • AbstractScheduler

        protected AbstractScheduler​(MeasurementBuilder<T> builder,
                                    DatesSelector selector)
        Simple constructor.
        Parameters:
        builder - builder for individual measurements
        selector - selector for dates
    • Method Detail

      • init

        public void init​(AbsoluteDate start,
                         AbsoluteDate end)
        Initialize scheduler at the start of a measurements generation.

        This method is called once at the start of the measurements generation. It may be used by the scheduler to initialize some internal data if needed, typically initializing builders.

        This implementation initialize the measurement builder.

        Specified by:
        init in interface Scheduler<T extends ObservedMeasurement<T>>
        Parameters:
        start - start of the measurements time span
        end - end of the measurements time span
      • getBuilder

        public MeasurementBuilder<T> getBuilder()
        Get the measurements builder.
        Returns:
        measurements builder
      • getSelector

        public DatesSelector getSelector()
        Get the dates selector.
        Returns:
        dates selector