public static class COPACNeighborPredicate.COPACModel extends java.lang.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()
DBIDsExample:
 
 for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
   DBID id = iter.getDBID();
 }
 
 public int size()
DBIDspublic boolean contains(DBIDRef o)
DBIDsCopyright © 2019 ELKI Development Team. License information.