private class HiCO.Instance extends GeneralizedOPTICS.Instance<V,CorrelationClusterOrder>
Modifier and Type | Class and Description |
---|---|
private class |
HiCO.Instance.Sorter
Sort new candidates by their distance, for determining the core size.
|
Modifier and Type | Field and Description |
---|---|
private ArrayModifiableDBIDs |
clusterOrder
Cluster order.
|
private WritableIntegerDataStore |
correlationValue
Correlation value.
|
private FilteredLocalPCAIndex<NumberVector> |
index
Instantiated index.
|
private Relation<V> |
relation
Data relation.
|
(package private) Comparator<DBIDRef> |
tmpcomp
Sort object by the temporary fields.
|
private WritableIntegerDataStore |
tmpCorrelation
Temporary storage of correlation values.
|
private WritableDoubleDataStore |
tmpDistance
Temporary storage of distances.
|
private ArrayModifiableDBIDs |
tmpIds
Temporary ids.
|
candidates, predecessor, processedIDs, reachability
Constructor and Description |
---|
HiCO.Instance(Database db,
Relation<V> relation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected CorrelationClusterOrder |
buildResult()
Build the final result.
|
int |
compare(DBIDRef o1,
DBIDRef o2) |
protected void |
expandDBID(DBIDRef id)
Add the current DBID to the cluster order, and expand its neighbors if
minPts and similar conditions are satisfied.
|
protected Logging |
getLogger()
Get the class logger.
|
protected void |
initialDBID(DBIDRef id)
Initialize for a new DBID.
|
CorrelationClusterOrder |
run()
Process the data set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
private FilteredLocalPCAIndex<NumberVector> index
private Relation<V extends NumberVector> relation
private ArrayModifiableDBIDs clusterOrder
private WritableIntegerDataStore correlationValue
private WritableIntegerDataStore tmpCorrelation
private WritableDoubleDataStore tmpDistance
private ArrayModifiableDBIDs tmpIds
Comparator<DBIDRef> tmpcomp
public CorrelationClusterOrder run()
GeneralizedOPTICS.Instance
run
in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>
protected CorrelationClusterOrder buildResult()
GeneralizedOPTICS.Instance
buildResult
in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>
protected void initialDBID(DBIDRef id)
GeneralizedOPTICS.Instance
initialDBID
in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>
id
- Current object IDprotected void expandDBID(DBIDRef id)
GeneralizedOPTICS.Instance
expandDBID
in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>
id
- Current object IDpublic int compare(DBIDRef o1, DBIDRef o2)
compare
in interface Comparator<DBIDRef>
compare
in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>
protected Logging getLogger()
GeneralizedOPTICS.Instance
getLogger
in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.