public class SystematicSampling<I extends IInstance> extends ASamplingAlgorithm<I>
sample, sampleSize| Constructor and Description |
|---|
SystematicSampling(java.util.Random random,
java.util.Comparator<I> datapointComparator,
IDataset<I> input)
Constructor for a custom datapoint comparator.
|
SystematicSampling(java.util.Random random,
IDataset<I> input)
Simple constructor that uses the default datapoint comparator.
|
| Modifier and Type | Method and Description |
|---|---|
IDataset<I> |
getSortedDataset() |
ai.libs.jaicore.basic.algorithm.events.AlgorithmEvent |
nextWithException() |
void |
setSortedDataset(IDataset<I> sortedDataset) |
call, doInactiveStep, setSampleSizeactivate, announceTimeoutDetected, avoidReinterruptionOnShutdownOnCurrentThread, cancel, checkAndConductTermination, checkTermination, computeTimeoutAware, getActivationTime, getConfig, getId, getInput, getLoggerName, getNumCPUs, getRemainingTimeToDeadline, getState, getTimeout, getTimeoutPrecautionOffset, hasNext, hasThreadBeenInterruptedDuringShutdown, interruptThreadAsPartOfShutdown, isCanceled, isShutdownInitialized, isStopCriterionSatisfied, isTimeouted, iterator, next, post, registerActiveThread, registerListener, resolveShutdownInterruptOnCurrentThread, setConfig, setLoggerName, setMaxNumThreads, setNumCPUs, setState, setTimeout, setTimeout, setTimeoutPrecautionOffset, shutdown, terminate, unregisterActiveThread, unregisterThreadAndShutdownpublic SystematicSampling(java.util.Random random,
IDataset<I> input)
random - Random Object for determining the sampling start point.public SystematicSampling(java.util.Random random,
java.util.Comparator<I> datapointComparator,
IDataset<I> input)
random - Random Object for determining the sampling start point.datapointComparator - Comparator to sort the dataset.