public static class COPACNeighborPredicate.COPACModel extends Object implements SetDBIDs
Modifier and Type | Field and Description |
---|---|
(package private) int |
cdim
Correlation dimensionality.
|
(package private) SetDBIDs |
ids
Neighbor ids.
|
Constructor and Description |
---|
COPACModel(int cdim,
SetDBIDs ids)
COPAC model.
|
Modifier and Type | Method and 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.
|
int cdim
SetDBIDs ids
public COPACModel(int cdim, SetDBIDs ids)
cdim
- Correlation dimensionalityids
- Neighbor idspublic DBIDIter iter()
DBIDs
for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
DBID id = iter.getDBID();
}
public int size()
DBIDs
public boolean contains(DBIDRef o)
DBIDs
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.