|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.index.preprocessed.preference.AbstractPreferenceVectorIndex.Factory<V,DiSHPreferenceVectorIndex<V>>
de.lmu.ifi.dbs.elki.index.preprocessed.preference.DiSHPreferenceVectorIndex.Factory<V>
V - Vector typepublic static class DiSHPreferenceVectorIndex.Factory<V extends NumberVector<?,?>>

Factory class
| Nested Class Summary | |
|---|---|
static class |
DiSHPreferenceVectorIndex.Factory.Parameterizer<V extends NumberVector<?,?>>
Parameterization class. |
| Field Summary | |
|---|---|
private static String |
CONDITION
Description for the determination of the preference vector. |
static DoubleDistance |
DEFAULT_EPSILON
The default value for epsilon. |
static DiSHPreferenceVectorIndex.Strategy |
DEFAULT_STRATEGY
Default strategy. |
protected DoubleDistance[] |
epsilon
The epsilon value for each dimension; |
static OptionID |
EPSILON_ID
A 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_EPSILON in each
dimension). |
protected int |
minpts
Threshold for minimum number of points in the neighborhood. |
static OptionID |
MINPTS_ID
Positive threshold for minimum numbers of points in the epsilon-neighborhood of a point, must satisfy following CONDITION. |
static String |
MINPTS_P
Option name for MINPTS_ID. |
protected DiSHPreferenceVectorIndex.Strategy |
strategy
The strategy to determine the preference vector. |
static OptionID |
STRATEGY_ID
The strategy for determination of the preference vector, available strategies are: DiSHPreferenceVectorIndex.Strategy.APRIORI and
DiSHPreferenceVectorIndex.Strategy.MAX_INTERSECTION. |
| Constructor Summary | |
|---|---|
DiSHPreferenceVectorIndex.Factory(DoubleDistance[] epsilon,
int minpts,
DiSHPreferenceVectorIndex.Strategy strategy)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getMinpts()
Return the minpts value |
DiSHPreferenceVectorIndex<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 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 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
| Constructor Detail |
|---|
public DiSHPreferenceVectorIndex.Factory(DoubleDistance[] epsilon,
int minpts,
DiSHPreferenceVectorIndex.Strategy strategy)
epsilon - Epsilonminpts - Minptsstrategy - Strategy| Method Detail |
|---|
public DiSHPreferenceVectorIndex<V> instantiate(Relation<V> relation)
PreferenceVectorIndex.Factory
instantiate 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 use
public int getMinpts()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||