Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.result
Class ClusterOrderResult.ReachabilityDistanceAdapter

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.ClusterOrderResult.ReachabilityDistanceAdapter
All Implemented Interfaces:
AnnotationResult<D>, Result
Enclosing class:
ClusterOrderResult<D extends Distance<?>>

 class ClusterOrderResult.ReachabilityDistanceAdapter
extends Object
implements AnnotationResult<D>

Result containing the reachability distances.

Author:
Erich Schubert

Field Summary
private  HashMap<Integer,ClusterOrderEntry<D>> map
          Access reference.
 
Constructor Summary
ClusterOrderResult.ReachabilityDistanceAdapter(HashMap<Integer,ClusterOrderEntry<D>> map)
          Constructor.
 
Method Summary
 AssociationID<D> getAssociationID()
          Return the association ID of this result.
 String getName()
          Get a user-understandable name for this result.
 D 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

map

private HashMap<Integer,ClusterOrderEntry<D extends Distance<?>>> map
Access reference.

Constructor Detail

ClusterOrderResult.ReachabilityDistanceAdapter

public ClusterOrderResult.ReachabilityDistanceAdapter(HashMap<Integer,ClusterOrderEntry<D>> map)
Constructor.

Parameters:
map - Map that stores the results.
Method Detail

getAssociationID

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

Specified by:
getAssociationID in interface AnnotationResult<D extends Distance<?>>
Returns:
Association ID

getValueFor

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

Specified by:
getValueFor in interface AnnotationResult<D extends Distance<?>>
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)