
V - Vector typepublic static class HiSCPreferenceVectorIndex.Factory<V extends NumberVector<?>> extends AbstractPreferenceVectorIndex.Factory<V,HiSCPreferenceVectorIndex<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 | alphaHolds the value of parameter  ALPHA_ID. | 
| static OptionID | ALPHA_IDThe maximum absolute variance along a coordinate axis. | 
| static double | DEFAULT_ALPHAThe default value for alpha. | 
| protected Integer | kHolds the value of parameter  K_ID. | 
| static OptionID | K_IDThe number of nearest neighbors considered to determine the preference
 vector. | 
| Constructor and Description | 
|---|
| HiSCPreferenceVectorIndex.Factory(double alpha,
                                 Integer k)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| HiSCPreferenceVectorIndex<V> | instantiate(Relation<V> relation)Instantiate the index for a given database. | 
getInputTypeRestrictionpublic 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.public HiSCPreferenceVectorIndex.Factory(double alpha,
                                 Integer k)
alpha - Alphak - kpublic HiSCPreferenceVectorIndex<V> instantiate(Relation<V> relation)
PreferenceVectorIndex.Factoryinstantiate 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