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 class
ShuffleObjectsFilter.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private static Logging
LOG
Class logger(package private) RandomFactory
rnd
Random generator.
-
Constructor Summary
Constructors Constructor Description ShuffleObjectsFilter(RandomFactory rnd)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultipleObjectsBundle
filter(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:ObjectFilter
Filter a set of object packages.- Specified by:
filter
in interfaceObjectFilter
- Parameters:
objects
- Object to filter- Returns:
- Filtered objects
-
-