de.lmu.ifi.dbs.elki.evaluation.roc
Class ROC.OutlierScoreAdapter
java.lang.Object
   de.lmu.ifi.dbs.elki.evaluation.roc.ROC.OutlierScoreAdapter
de.lmu.ifi.dbs.elki.evaluation.roc.ROC.OutlierScoreAdapter
- All Implemented Interfaces: 
- Iterator<DoubleObjPair<DBID>>
- Enclosing class:
- ROC
- public static class ROC.OutlierScoreAdapter 
- extends Object- implements Iterator<DoubleObjPair<DBID>>
 
This adapter can be used for an arbitrary collection of Integers, and uses
 that id1.compareTo(id2) != 0 for id1 != id2 to satisfy the comparability.
 
 Note that of course, no id should occur more than once.
 
 The ROC values would be incorrect then anyway!
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
iter
private Iterator<DBID> iter
- Original Iterator
 
 
scores
private Relation<Double> scores
- Outlier score
 
 
ROC.OutlierScoreAdapter
public ROC.OutlierScoreAdapter(OutlierResult o)
- Constructor.
 
- Parameters:
- o- Result
 
hasNext
public boolean hasNext()
- 
- Specified by:
- hasNextin interface- Iterator<DoubleObjPair<DBID>>
 
- 
 
next
public DoubleObjPair<DBID> next()
- 
- Specified by:
- nextin interface- Iterator<DoubleObjPair<DBID>>
 
- 
 
remove
public void remove()
- 
- Specified by:
- removein interface- Iterator<DoubleObjPair<DBID>>
 
-