public abstract static class GeneralizedOPTICS.Instance<O,R> extends Object implements Comparator<DBIDRef>
Modifier and Type | Field and Description |
---|---|
protected ArrayModifiableDBIDs |
candidates
Current list of candidates.
|
(package private) DBIDs |
ids
IDs to process.
|
protected WritableDBIDDataStore |
predecessor
Predecessor storage.
|
protected ModifiableDBIDs |
processedIDs
Holds a set of processed ids.
|
(package private) FiniteProgress |
progress
Progress for logging.
|
protected WritableDoubleDataStore |
reachability
Reachability storage.
|
Constructor and Description |
---|
GeneralizedOPTICS.Instance(Database db,
Relation<O> relation)
Constructor for a single data set.
|
Modifier and Type | Method and Description |
---|---|
protected abstract R |
buildResult()
Build the final result.
|
int |
compare(DBIDRef o1,
DBIDRef o2) |
protected abstract void |
expandDBID(DBIDRef id)
Add the current DBID to the cluster order, and expand its neighbors if
minPts and similar conditions are satisfied.
|
protected abstract Logging |
getLogger()
Get the class logger.
|
protected abstract void |
initialDBID(DBIDRef id)
Initialize for a new DBID.
|
R |
run()
Process the data set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
protected ModifiableDBIDs processedIDs
protected ArrayModifiableDBIDs candidates
protected WritableDBIDDataStore predecessor
protected WritableDoubleDataStore reachability
DBIDs ids
FiniteProgress progress
public int compare(DBIDRef o1, DBIDRef o2)
compare
in interface Comparator<DBIDRef>
public R run()
protected abstract void initialDBID(DBIDRef id)
id
- Current object IDprotected abstract void expandDBID(DBIDRef id)
id
- Current object IDprotected abstract R buildResult()
protected abstract Logging getLogger()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.