Class WicaChannelValueFixedSamplingCycleFilter

java.lang.Object
ch.psi.wica.services.channel.WicaChannelValueFixedSamplingCycleFilter
All Implemented Interfaces:
WicaChannelValueFilter

@NotThreadSafe class WicaChannelValueFixedSamplingCycleFilter extends Object implements WicaChannelValueFilter
A filter that returns an output list which includes one-in-every-M values taken from the input list over successive invocations.
  • Constructor Details

    • WicaChannelValueFixedSamplingCycleFilter

      WicaChannelValueFixedSamplingCycleFilter(int samplingCycleLength)
      Constructs a new instance with the specified sampling cycle length.
      Parameters:
      samplingCycleLength - - the sampling cycle length. (ie the value of M in this 1-in-every-M sampler).
  • Method Details