
N - Number distance used by OPTICSpublic class OPTICSXi<N extends NumberDistance<N,?>> extends AbstractAlgorithm<Clustering<OPTICSModel>> implements ClusteringAlgorithm<Clustering<OPTICSModel>>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | OPTICSXi.Parameterizer<D extends NumberDistance<D,?>>Parameterization class. | 
| static class  | OPTICSXi.SteepAreaData structure to represent a steep-down-area for the xi method. | 
| static class  | OPTICSXi.SteepAreaResultResult containing the chi-steep areas. | 
| static class  | OPTICSXi.SteepDownAreaData structure to represent a steep-down-area for the xi method. | 
| private static class  | OPTICSXi.SteepScanPosition<N extends NumberDistance<N,?>>Position when scanning for steep areas | 
| static class  | OPTICSXi.SteepUpAreaData structure to represent a steep-down-area for the xi method. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static Logging | LOGThe logger for this class. | 
| (package private) OPTICSTypeAlgorithm<N> | opticsThe actual algorithm we use. | 
| (package private) double | xiXi parameter | 
| static OptionID | XI_IDParameter to specify the steepness threshold. | 
| static OptionID | XIALG_IDParameter to specify the actual OPTICS algorithm to use. | 
| Constructor and Description | 
|---|
| OPTICSXi(OPTICSTypeAlgorithm<N> optics,
        double xi)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| private Clustering<OPTICSModel> | extractClusters(ClusterOrderResult<N> clusterOrderResult,
               Relation<?> relation,
               double ixi,
               int minpts)Extract clusters from a cluster order result. | 
| TypeInformation[] | getInputTypeRestriction()Get the input type restriction used for negotiating the data query. | 
| protected Logging | getLogger()Get the (STATIC) logger for this class. | 
| Clustering<OPTICSModel> | run(Database database,
   Relation<?> relation) | 
| private static void | updateFilterSDASet(double mib,
                  List<OPTICSXi.SteepDownArea> sdaset,
                  double ixi)Update the mib values of SteepDownAreas, and remove obsolete areas. | 
makeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprivate static final Logging LOG
public static final OptionID XIALG_ID
public static final OptionID XI_ID
OPTICSTypeAlgorithm<N extends NumberDistance<N,?>> optics
double xi
public OPTICSXi(OPTICSTypeAlgorithm<N> optics, double xi)
optics - OPTICS algorithm to usexi - Xi valuepublic Clustering<OPTICSModel> run(Database database, Relation<?> relation)
private Clustering<OPTICSModel> extractClusters(ClusterOrderResult<N> clusterOrderResult, Relation<?> relation, double ixi, int minpts)
clusterOrderResult - cluster order resultrelation - Relationixi - Parameter 1 - Ximinpts - Parameter minPtsprivate static void updateFilterSDASet(double mib,
                      List<OPTICSXi.SteepDownArea> sdaset,
                      double ixi)
mib - Maximum in-between valuesdaset - Set of steep down areas.public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<Clustering<OPTICSModel>>protected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<Clustering<OPTICSModel>>