V
- Vector typepublic static class HiSCPreferenceVectorIndex.Factory<V extends NumberVector> extends AbstractPreferenceVectorIndex.Factory<V>
Modifier and Type | Class and Description |
---|---|
static class |
HiSCPreferenceVectorIndex.Factory.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected double |
alpha
The maximum absolute variance along a coordinate axis.
|
protected int |
k
The number of nearest neighbors considered to determine the preference
vector.
|
Constructor and Description |
---|
Factory(double alpha,
int k)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAlpha()
Get the alpha parameter.
|
HiSCPreferenceVectorIndex<V> |
instantiate(Relation<V> relation)
Instantiate the index for a given database.
|
getInputTypeRestriction
protected double alpha
protected int k
public Factory(double alpha, int k)
alpha
- Alphak
- kpublic double getAlpha()
public HiSCPreferenceVectorIndex<V> instantiate(Relation<V> relation)
PreferenceVectorIndex.Factory
instantiate
in interface IndexFactory<V extends NumberVector>
instantiate
in interface PreferenceVectorIndex.Factory<V extends NumberVector>
instantiate
in class AbstractPreferenceVectorIndex.Factory<V extends NumberVector>
relation
- Relation to useCopyright © 2019 ELKI Development Team. License information.