V
- Vector typepublic static class PartialVAFile.Factory<V extends NumberVector> extends Object implements IndexFactory<V,PartialVAFile<V>>
Modifier and Type | Class and Description |
---|---|
static class |
PartialVAFile.Factory.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) int |
numpart
Number of partitions.
|
(package private) int |
pagesize
Page size.
|
static OptionID |
PARTITIONS_ID
Number of partitions to use in each dimension.
|
Constructor and Description |
---|
PartialVAFile.Factory(int pagesize,
int numpart)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
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).
|
public static final OptionID PARTITIONS_ID
-vafile.partitions 8
int pagesize
int numpart
public PartialVAFile.Factory(int pagesize, int numpart)
pagesize
- Page sizenumpart
- Number of partitionspublic PartialVAFile<V> instantiate(Relation<V> relation)
IndexFactory
instantiate
in interface IndexFactory<V extends NumberVector,PartialVAFile<V extends NumberVector>>
relation
- the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<V extends NumberVector,PartialVAFile<V extends NumberVector>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.