V
- Vector typepublic static class VAFile.Factory<V extends NumberVector> extends java.lang.Object implements IndexFactory<V>
Modifier and Type | Class and Description |
---|---|
static class |
VAFile.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 |
---|
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.
|
VAFile<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 Factory(int pagesize, int numpart)
pagesize
- Page sizenumpart
- Number of partitionspublic VAFile<V> instantiate(Relation<V> relation)
IndexFactory
instantiate
in interface IndexFactory<V extends NumberVector>
relation
- the relation to indexpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<V extends NumberVector>
Copyright © 2019 ELKI Development Team. License information.