|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.index.preprocessed.preference.AbstractPreferenceVectorIndex.Factory<V,HiSCPreferenceVectorIndex<V>> de.lmu.ifi.dbs.elki.index.preprocessed.preference.HiSCPreferenceVectorIndex.Factory<V>
V
- Vector typepublic static class HiSCPreferenceVectorIndex.Factory<V extends NumberVector<?,?>>
Factory class
Nested Class Summary | |
---|---|
static class |
HiSCPreferenceVectorIndex.Factory.Parameterizer<V extends NumberVector<?,?>>
Parameterization class. |
Field Summary | |
---|---|
protected double |
alpha
Holds the value of parameter ALPHA_ID . |
static OptionID |
ALPHA_ID
The maximum absolute variance along a coordinate axis. |
static double |
DEFAULT_ALPHA
The default value for alpha. |
protected Integer |
k
Holds the value of parameter K_ID . |
static OptionID |
K_ID
The number of nearest neighbors considered to determine the preference vector. |
Constructor Summary | |
---|---|
HiSCPreferenceVectorIndex.Factory(double alpha,
Integer k)
Constructor. |
Method Summary | |
---|---|
HiSCPreferenceVectorIndex<V> |
instantiate(Relation<V> relation)
Instantiate the index for a given database. |
Methods inherited from class de.lmu.ifi.dbs.elki.index.preprocessed.preference.AbstractPreferenceVectorIndex.Factory |
---|
getInputTypeRestriction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_ALPHA
public static final OptionID ALPHA_ID
Default value: DEFAULT_ALPHA
Key: -hisc.alpha
public static final OptionID K_ID
Key: -hisc.k
Default value: three times of the dimensionality of the database objects
protected double alpha
ALPHA_ID
.
protected Integer k
K_ID
.
Constructor Detail |
---|
public HiSCPreferenceVectorIndex.Factory(double alpha, Integer k)
alpha
- Alphak
- kMethod Detail |
---|
public HiSCPreferenceVectorIndex<V> instantiate(Relation<V> relation)
PreferenceVectorIndex.Factory
instantiate
in interface IndexFactory<V extends NumberVector<?,?>,HiSCPreferenceVectorIndex<V extends NumberVector<?,?>>>
instantiate
in interface PreferenceVectorIndex.Factory<V extends NumberVector<?,?>,HiSCPreferenceVectorIndex<V extends NumberVector<?,?>>>
instantiate
in class AbstractPreferenceVectorIndex.Factory<V extends NumberVector<?,?>,HiSCPreferenceVectorIndex<V extends NumberVector<?,?>>>
relation
- Relation to use
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |