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<V> |
index
Instantiated index.
|
private Relation<V> |
relation
Data relation.
|
candidates, predecessor, processedIDs, reachability| Constructor and Description |
|---|
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.
|
private HiSCPreferenceVectorIndex<V extends NumberVector> index
private ArrayModifiableDBIDs clusterOrder
private Relation<V extends NumberVector> relation
private WritableIntegerDataStore correlationValue
private WritableDataStore<long[]> commonPreferenceVectors
public CorrelationClusterOrder run()
GeneralizedOPTICS.Instancerun in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>protected CorrelationClusterOrder buildResult()
GeneralizedOPTICS.InstancebuildResult in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>protected void initialDBID(DBIDRef id)
GeneralizedOPTICS.InstanceinitialDBID in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>id - Current object IDprotected void expandDBID(DBIDRef id)
GeneralizedOPTICS.InstanceexpandDBID in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>id - Current object IDpublic int compare(DBIDRef o1, DBIDRef o2)
compare in interface java.util.Comparator<DBIDRef>compare in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>protected Logging getLogger()
GeneralizedOPTICS.InstancegetLogger in class GeneralizedOPTICS.Instance<V extends NumberVector,CorrelationClusterOrder>Copyright © 2019 ELKI Development Team. License information.