Package elki.index.vafile
Class PartialVAFile.Factory<V extends NumberVector>
- java.lang.Object
-
- elki.index.vafile.PartialVAFile.Factory<V>
-
- Type Parameters:
V- Vector type
- All Implemented Interfaces:
IndexFactory<V>
- Enclosing class:
- PartialVAFile<V extends NumberVector>
public static class PartialVAFile.Factory<V extends NumberVector> extends java.lang.Object implements IndexFactory<V>
Index factory class.- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartialVAFile.Factory.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) intnumpartNumber of partitions.(package private) intpagesizePage size.static OptionIDPARTITIONS_IDNumber of partitions to use in each dimension.
-
Constructor Summary
Constructors Constructor Description Factory(int pagesize, int numpart)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformationgetInputTypeRestriction()Get the input type restriction used for negotiating the data query.PartialVAFile<V>instantiate(Relation<V> relation)Sets the database in the distance function of this index (if existing).
-
-
-
Field Detail
-
PARTITIONS_ID
public static final OptionID PARTITIONS_ID
Number of partitions to use in each dimension.-vafile.partitions 8
-
pagesize
int pagesize
Page size.
-
numpart
int numpart
Number of partitions.
-
-
Method Detail
-
instantiate
public PartialVAFile<V> instantiate(Relation<V> relation)
Description copied from interface:IndexFactorySets the database in the distance function of this index (if existing).- Specified by:
instantiatein interfaceIndexFactory<V extends NumberVector>- Parameters:
relation- the relation to index
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:IndexFactoryGet the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestrictionin interfaceIndexFactory<V extends NumberVector>- Returns:
- Type restriction
-
-