Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.outlier
Class SOD.SODProxyScoreResult

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.outlier.SOD.SODProxyScoreResult
All Implemented Interfaces:
AnnotationResult<Double>, Result
Enclosing class:
SOD<V extends NumberVector<V,?>,D extends Distance<D>>

protected static class SOD.SODProxyScoreResult
extends Object
implements AnnotationResult<Double>

Proxy class that converts a model result to an actual SOD score result.

Author:
Erich Schubert

Field Summary
(package private)  AnnotationResult<SOD.SODModel<?>> models
          Model result this is a proxy for.
 
Constructor Summary
SOD.SODProxyScoreResult(AnnotationResult<SOD.SODModel<?>> models)
          Constructor.
 
Method Summary
 AssociationID<Double> getAssociationID()
          Return the association ID of this result.
 String getName()
          Get a user-understandable name for this result.
 Double getValueFor(Integer objID)
          Get associated value for an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

models

AnnotationResult<SOD.SODModel<?>> models
Model result this is a proxy for.

Constructor Detail

SOD.SODProxyScoreResult

public SOD.SODProxyScoreResult(AnnotationResult<SOD.SODModel<?>> models)
Constructor.

Parameters:
models - Models result
Method Detail

getAssociationID

public AssociationID<Double> getAssociationID()
Description copied from interface: AnnotationResult
Return the association ID of this result.

Specified by:
getAssociationID in interface AnnotationResult<Double>
Returns:
Association ID

getValueFor

public Double getValueFor(Integer objID)
Description copied from interface: AnnotationResult
Get associated value for an object.

Specified by:
getValueFor in interface AnnotationResult<Double>
Parameters:
objID - Object ID
Returns:
Associated value

getName

public String getName()
Description copied from interface: Result
Get a user-understandable name for this result. Defaults may be returned such as "list" for a list result.

Specified by:
getName in interface Result
Returns:
result name

Release 0.3 (2010-03-31_1612)