Package elki.datasource.filter.selection
Class ShuffleObjectsFilter
- java.lang.Object
-
- elki.datasource.filter.selection.ShuffleObjectsFilter
-
- All Implemented Interfaces:
ObjectFilter
public class ShuffleObjectsFilter extends java.lang.Object implements ObjectFilter
A filter to shuffle the dataset.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShuffleObjectsFilter.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private static LoggingLOGClass logger(package private) RandomFactoryrndRandom generator.
-
Constructor Summary
Constructors Constructor Description ShuffleObjectsFilter(RandomFactory rnd)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultipleObjectsBundlefilter(MultipleObjectsBundle objects)Filter a set of object packages.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Class logger
-
rnd
final RandomFactory rnd
Random generator.
-
-
Constructor Detail
-
ShuffleObjectsFilter
public ShuffleObjectsFilter(RandomFactory rnd)
Constructor.- Parameters:
rnd- Random generator
-
-
Method Detail
-
filter
public MultipleObjectsBundle filter(MultipleObjectsBundle objects)
Description copied from interface:ObjectFilterFilter a set of object packages.- Specified by:
filterin interfaceObjectFilter- Parameters:
objects- Object to filter- Returns:
- Filtered objects
-
-