
public class GeneralizedDBSCAN.Instance<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) CorePredicate.Instance<T> |
corepred
The core object property
|
(package private) NeighborPredicate.Instance<T> |
npred
The neighborhood predicate
|
| Constructor and Description |
|---|
GeneralizedDBSCAN.Instance(NeighborPredicate.Instance<T> npred,
CorePredicate.Instance<T> corepred)
Full Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Clustering<Model> |
run()
Run the actual DBSCAN algorithm.
|
protected int |
setbasedExpandCluster(int clusterid,
WritableIntegerDataStore clusterids,
T neighbors,
FiniteProgress progress)
Set-based expand cluster implementation.
|
final NeighborPredicate.Instance<T> npred
final CorePredicate.Instance<T> corepred
public GeneralizedDBSCAN.Instance(NeighborPredicate.Instance<T> npred, CorePredicate.Instance<T> corepred)
npred - Neighborhood predicatecorepred - Core object predicatepublic Clustering<Model> run()
protected int setbasedExpandCluster(int clusterid,
WritableIntegerDataStore clusterids,
T neighbors,
FiniteProgress progress)
clusterid - ID of the current cluster.clusterids - Current object to cluster mapping.neighbors - Neighbors acquired by initial getNeighbors call.progress - Progress logging