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 DgetComplementOfLastSample()DnextSample()
-
-
-
Method Detail
-
nextSample
D nextSample() throws DatasetCreationException, java.lang.InterruptedException
- Throws:
DatasetCreationExceptionjava.lang.InterruptedException
-
getComplementOfLastSample
D getComplementOfLastSample() throws DatasetCreationException, java.lang.InterruptedException
- Throws:
DatasetCreationExceptionjava.lang.InterruptedException
-
-