Interface ISamplingAlgorithm<D extends IDataset<?>>

  • All Superinterfaces:
    java.util.concurrent.Callable<D>, org.api4.java.algorithm.IAlgorithm<D,​D>, org.api4.java.common.control.ICancelable, java.lang.Iterable<org.api4.java.algorithm.events.IAlgorithmEvent>, java.util.Iterator<org.api4.java.algorithm.events.IAlgorithmEvent>
    All Known Subinterfaces:
    ISupervisedSamplingAlgorithm<D>

    public interface ISamplingAlgorithm<D extends IDataset<?>>
    extends org.api4.java.algorithm.IAlgorithm<D,​D>
    Interface for sampling algorithms. Sampling algorithms take a dataset as input and return a (reduced) dataset as their output.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      D getComplementOfLastSample()  
      D nextSample()  
      • Methods inherited from interface org.api4.java.algorithm.IAlgorithm

        call, getConfig, getId, getInput, getNumCPUs, getTimeout, nextWithException, registerListener, setMaxNumThreads, setNumCPUs, setTimeout, setTimeout
      • Methods inherited from interface org.api4.java.common.control.ICancelable

        cancel
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove