de.lmu.ifi.dbs.elki.datasource.filter
Class SplitNumberVectorFilter<V extends NumberVector<V,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.datasource.filter.SplitNumberVectorFilter<V>
All Implemented Interfaces:
ObjectFilter

public class SplitNumberVectorFilter<V extends NumberVector<V,?>>
extends Object
implements ObjectFilter

Split an existing column into two types.


Nested Class Summary
static class SplitNumberVectorFilter.Parameterizer<V extends NumberVector<V,?>>
          Parameterization class.
 
Field Summary
(package private)  int[] dims
          Selected dimensions.
 
Constructor Summary
SplitNumberVectorFilter(int[] dims)
          Constructor.
 
Method Summary
 MultipleObjectsBundle filter(MultipleObjectsBundle objects)
          Filter a set of object packages.
private  TypeInformation getInputTypeRestriction()
          The input type we use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dims

final int[] dims
Selected dimensions.

Constructor Detail

SplitNumberVectorFilter

public SplitNumberVectorFilter(int[] dims)
Constructor.

Parameters:
dims - Dimensions to use.
Method Detail

filter

public MultipleObjectsBundle filter(MultipleObjectsBundle objects)
Description copied from interface: ObjectFilter
Filter a set of object packages.

Specified by:
filter in interface ObjectFilter
Parameters:
objects - Object to filter
Returns:
Filtered objects

getInputTypeRestriction

private TypeInformation getInputTypeRestriction()
The input type we use.

Returns:
type information

Release 0.4.0 (2011-09-20_1324)