
V - Vector typepublic static class DiSHPreferenceVectorIndex.Factory<V extends NumberVector<?>> extends AbstractPreferenceVectorIndex.Factory<V,DiSHPreferenceVectorIndex<V>>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DiSHPreferenceVectorIndex.Factory.Parameterizer<V extends NumberVector<?>>Parameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static String | CONDITIONDescription for the determination of the preference vector. | 
| static DoubleDistance | DEFAULT_EPSILONThe default value for epsilon. | 
| static DiSHPreferenceVectorIndex.Strategy | DEFAULT_STRATEGYDefault strategy. | 
| protected DoubleDistance[] | epsilonThe epsilon value for each dimension. | 
| static OptionID | EPSILON_IDA comma separated list of positive doubles specifying the maximum radius
 of the neighborhood to be considered in each dimension for determination
 of the preference vector (default is  DEFAULT_EPSILONin each
 dimension). | 
| protected int | minptsThreshold for minimum number of points in the neighborhood. | 
| static OptionID | MINPTS_IDPositive threshold for minimum numbers of points in the
 epsilon-neighborhood of a point, must satisfy following
  CONDITION. | 
| static String | MINPTS_POption name for  MINPTS_ID. | 
| protected DiSHPreferenceVectorIndex.Strategy | strategyThe strategy to determine the preference vector. | 
| static OptionID | STRATEGY_IDThe strategy for determination of the preference vector, available
 strategies are:  DiSHPreferenceVectorIndex.Strategy.APRIORIandDiSHPreferenceVectorIndex.Strategy.MAX_INTERSECTION. | 
| Constructor and Description | 
|---|
| DiSHPreferenceVectorIndex.Factory(DoubleDistance[] epsilon,
                                 int minpts,
                                 DiSHPreferenceVectorIndex.Strategy strategy)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getMinpts()Return the minpts value. | 
| DiSHPreferenceVectorIndex<V> | instantiate(Relation<V> relation)Instantiate the index for a given database. | 
getInputTypeRestrictionpublic static final DoubleDistance DEFAULT_EPSILON
public static final OptionID EPSILON_ID
DEFAULT_EPSILON in each
 dimension). If only one value is specified, this value will be used for
 each dimension.
 
 
 Key: -dish.epsilon
 
 Default value: DEFAULT_EPSILON
 
public static final String MINPTS_P
MINPTS_ID.private static final String CONDITION
public static final OptionID MINPTS_ID
CONDITION.
 
 
 Key: -dish.minpts
 
public static final DiSHPreferenceVectorIndex.Strategy DEFAULT_STRATEGY
public static final OptionID STRATEGY_ID
DiSHPreferenceVectorIndex.Strategy.APRIORI and
 DiSHPreferenceVectorIndex.Strategy.MAX_INTERSECTION.
 
 
 Key: -dish.strategy
 
 Default value: DEFAULT_STRATEGY
 
protected DoubleDistance[] epsilon
protected int minpts
protected DiSHPreferenceVectorIndex.Strategy strategy
public DiSHPreferenceVectorIndex.Factory(DoubleDistance[] epsilon, int minpts, DiSHPreferenceVectorIndex.Strategy strategy)
epsilon - Epsilonminpts - Minptsstrategy - Strategypublic DiSHPreferenceVectorIndex<V> instantiate(Relation<V> relation)
PreferenceVectorIndex.Factoryinstantiate in interface IndexFactory<V extends NumberVector<?>,DiSHPreferenceVectorIndex<V extends NumberVector<?>>>instantiate in interface PreferenceVectorIndex.Factory<V extends NumberVector<?>,DiSHPreferenceVectorIndex<V extends NumberVector<?>>>instantiate in class AbstractPreferenceVectorIndex.Factory<V extends NumberVector<?>,DiSHPreferenceVectorIndex<V extends NumberVector<?>>>relation - Relation to usepublic int getMinpts()