Class SequenceSampler

  • All Implemented Interfaces:
    Sampler.SubSampler

    public class SequenceSampler
    extends java.lang.Object
    implements Sampler.SubSampler
    SequenceSampler is an implementation of the Sampler.SubSampler interface.

    SequenceSampler samples the data from [0, dataset.size) sequentially.

    • Constructor Summary

      Constructors 
      Constructor Description
      SequenceSampler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<java.lang.Long> sample​(RandomAccessDataset dataset)
      Fetches an iterator that iterates through the indices of the given RandomAccessDataset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait