private class HiSC.Instance extends GeneralizedOPTICS.Instance<V,CorrelationClusterOrder>
Modifier and Type | Field and Description |
---|---|
private ArrayModifiableDBIDs |
clusterOrder
Cluster order.
|
private WritableDataStore<long[]> |
commonPreferenceVectors
Shared preference vectors.
|
private WritableIntegerDataStore |
correlationValue
Correlation dimensionality.
|
private HiSCPreferenceVectorIndex<NumberVector> |
index
Instantiated index.
|
private Relation<V> |
relation
Data relation.
|
candidates, predecessor, processedIDs, reachability
Constructor and Description |
---|
HiSC.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 HiSCPreferenceVectorIndex<NumberVector> index
private ArrayModifiableDBIDs clusterOrder
private Relation<V extends NumberVector> relation
private WritableIntegerDataStore correlationValue
private WritableDataStore<long[]> commonPreferenceVectors
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.