public static class ROC.OutlierScoreAdapter extends Object implements ROC.ScoreIter, DBIDRef
Modifier and Type | Field and Description |
---|---|
private DBIDIter |
iter
Original iterator.
|
(package private) double |
prev
Previous value.
|
private Relation<Double> |
scores
Outlier score.
|
Constructor and Description |
---|
ROC.OutlierScoreAdapter(OutlierResult o)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
boolean |
equals(Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
int |
internalGetIndex()
Get the internal index.
|
boolean |
tiedToPrevious()
Test whether the score is the same as the previous objects score.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
private DBIDIter iter
double prev
public ROC.OutlierScoreAdapter(OutlierResult o)
o
- Resultpublic boolean valid()
Iter
public void advance()
Iter
public boolean tiedToPrevious()
ROC.ScoreIter
tiedToPrevious
in interface ROC.ScoreIter
public int internalGetIndex()
DBIDRef
internalGetIndex
in interface DBIDRef
@Deprecated public int hashCode()
DBIDRef
DBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
to get an object with a stable hash code!@Deprecated public boolean equals(Object obj)
DBIDRef
DBIDUtil.equal(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
or DBIDUtil.compare(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
!