Class COPACNeighborPredicate.COPACModel
- java.lang.Object
-
- elki.clustering.dbscan.predicates.COPACNeighborPredicate.COPACModel
-
- Enclosing class:
- COPACNeighborPredicate
public static class COPACNeighborPredicate.COPACModel extends java.lang.Object implements SetDBIDs
Model used by COPAC for core point property.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description COPACModel(int cdim, SetDBIDs ids)
COPAC model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(DBIDRef o)
Test whether an ID is contained.boolean
isEmpty()
Test for an empty DBID collection.DBIDIter
iter()
Get a DBID iterator (a more efficient API).int
size()
Retrieve the collection / data size.
-
-
-
Field Detail
-
cdim
int cdim
Correlation dimensionality.
-
ids
SetDBIDs ids
Neighbor ids.
-
-
Constructor Detail
-
COPACModel
public COPACModel(int cdim, SetDBIDs ids)
COPAC model.- Parameters:
cdim
- Correlation dimensionalityids
- Neighbor ids
-
-
Method Detail
-
iter
public DBIDIter iter()
Description copied from interface:DBIDs
Get a DBID iterator (a more efficient API).Example:
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) { NumberVector vec = relation.get(iter); // iter is a temporary object reference }
-
size
public int size()
Description copied from interface:DBIDs
Retrieve the collection / data size.
-
contains
public boolean contains(DBIDRef o)
Description copied from interface:DBIDs
Test whether an ID is contained.
-
-