public class OutlierScoreAdapter extends Object implements ScoreEvaluation.ScoreIter, DBIDRefIter
Modifier and Type | Field and Description |
---|---|
private DBIDIter |
iter
Original iterator.
|
(package private) double |
prev
Previous value.
|
private DoubleRelation |
scores
Outlier score.
|
Constructor and Description |
---|
OutlierScoreAdapter(OutlierResult o)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OutlierScoreAdapter |
advance()
Moves the iterator forward to the next entry.
|
boolean |
equals(Object obj)
Deprecated.
|
DBIDRef |
getRef()
Get the current DBIDRef.
|
int |
hashCode()
Deprecated.
|
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
private DoubleRelation scores
double prev
public OutlierScoreAdapter(OutlierResult o)
o
- Resultpublic boolean valid()
Iter
public OutlierScoreAdapter advance()
Iter
public boolean tiedToPrevious()
ScoreEvaluation.ScoreIter
tiedToPrevious
in interface ScoreEvaluation.ScoreIter
public DBIDRef getRef()
DBIDRefIter
getRef
in interface DBIDRefIter
@Deprecated public int hashCode()
@Deprecated public boolean equals(Object obj)
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.