| 
 | 
 | |||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.preprocessing.ProjectedDBSCANPreprocessor<D,V>
public abstract class ProjectedDBSCANPreprocessor<D extends Distance<D>,V extends RealVector<V,?>>
Abstract superclass for preprocessor of algorithms extending the ProjectedDBSCAN alghorithm.
| Field Summary | |
|---|---|
| static String | DEFAULT_DISTANCE_FUNCTIONThe default range query distance function. | 
| static String | DISTANCE_FUNCTION_DDescription for parameter range query distance function. | 
| static String | DISTANCE_FUNCTION_PParameter for range query distance function. | 
| private  String | epsilonContains the value of parameter epsilon; | 
| static PatternParameter | EPSILON_PARAMParameter to specify the maximum radius of the neighborhood to be considered, must be suitable to LocallyWeightedDistanceFunction. | 
| private  int | minptsHolds the value of parameter minpts. | 
| private  IntParameter | MINPTS_PARAMParameter to specify the threshold for minimum number of points in the epsilon-neighborhood of a point, must be an integer greater than 0. | 
| protected  DistanceFunction<V,D> | rangeQueryDistanceFunctionThe distance function for the variance analysis. | 
| Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable | 
|---|
| optionHandler | 
| Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable | 
|---|
| debug | 
| Constructor Summary | |
|---|---|
| protected  | ProjectedDBSCANPreprocessor()Provides a new Preprocessor that computes the correlation dimension of objects of a certain database. | 
| Method Summary | |
|---|---|
|  List<AttributeSettings> | getAttributeSettings()Returns the settings of all options assigned to the option handler. | 
|  void | run(Database<V> database,
    boolean verbose,
    boolean time)This method executes the actual preprocessing step of this Preprocessor for the objects of the specified database. | 
| protected abstract  void | runVarianceAnalysis(Integer id,
                    List<QueryResult<D>> neighbors,
                    Database<V> database)This method implements the type of variance analysis to be computed for a given point. | 
|  String[] | setParameters(String[] args)Sets the attributes of the class accordingly to the given parameters. | 
| Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable | 
|---|
| addOption, checkGlobalParameterConstraints, deleteOption, description, description, description, getParameters, getParameterValue, getPossibleOptions, inlineDescription, isSet, setParameters | 
| Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable | 
|---|
| debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable | 
|---|
| checkGlobalParameterConstraints, description, getParameters, getPossibleOptions, inlineDescription | 
| Field Detail | 
|---|
public static final PatternParameter EPSILON_PARAM
LocallyWeightedDistanceFunction.
 Key: -epsilon 
private final IntParameter MINPTS_PARAM
Key: -projdbscan.minpts 
public static final String DEFAULT_DISTANCE_FUNCTION
public static final String DISTANCE_FUNCTION_P
public static final String DISTANCE_FUNCTION_D
private String epsilon
protected DistanceFunction<V extends RealVector<V,?>,D extends Distance<D>> rangeQueryDistanceFunction
private int minpts
| Constructor Detail | 
|---|
protected ProjectedDBSCANPreprocessor()
| Method Detail | 
|---|
public void run(Database<V> database,
                boolean verbose,
                boolean time)
Preprocessor
run in interface Preprocessor<V extends RealVector<V,?>>database - the database for which the preprocessing is performedverbose - flag to allow verbose messages while performing the algorithmtime - flag to request output of performance timePreprocessor.run(de.lmu.ifi.dbs.elki.database.Database,boolean,boolean)
protected abstract void runVarianceAnalysis(Integer id,
                                            List<QueryResult<D>> neighbors,
                                            Database<V> database)
id - the given pointneighbors - the neighbors as query results of the given pointdatabase - the database for which the preprocessing is performed
public String[] setParameters(String[] args)
                       throws ParameterException
Parameterizable
setParameters in interface ParameterizablesetParameters in class AbstractParameterizableargs - parameters to set the attributes accordingly to
ParameterException - in case of wrong parameter-settingParameterizable.setParameters(String[])public List<AttributeSettings> getAttributeSettings()
AbstractParameterizable
getAttributeSettings in interface ParameterizablegetAttributeSettings in class AbstractParameterizableParameterizable.getAttributeSettings()| 
 | 
 | ||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||