de.lmu.ifi.dbs.elki.result
Class AbstractHierarchicalResult

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.AbstractHierarchicalResult
All Implemented Interfaces:
HierarchicalResult, Result
Direct Known Subclasses:
AbstractDatabase, AbstractProjection, BasicResult, ConvertToStringView, DBIDView, HistogramProjector, MaterializedRelation, OPTICSProjector, ProxyView, ScatterPlotProjector

public abstract class AbstractHierarchicalResult
extends Object
implements HierarchicalResult

Abstract class for a result object with hierarchy


Field Summary
private  ResultHierarchy hierarchy
          The hierarchy storage.
 
Constructor Summary
AbstractHierarchicalResult()
          Constructor.
 
Method Summary
 void addChildResult(Result child)
          Add a child result.
 ResultHierarchy getHierarchy()
          Get the objects current hierarchy - may be null!
 void setHierarchy(ResultHierarchy hierarchy)
          Set (exchange) the hierarchy implementation (e.g. after merging!)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.result.Result
getLongName, getShortName
 

Field Detail

hierarchy

private ResultHierarchy hierarchy
The hierarchy storage.

Constructor Detail

AbstractHierarchicalResult

public AbstractHierarchicalResult()
Constructor.

Method Detail

getHierarchy

public final ResultHierarchy getHierarchy()
Description copied from interface: HierarchicalResult
Get the objects current hierarchy - may be null!

Specified by:
getHierarchy in interface HierarchicalResult
Returns:
current hierarchy. May be null!

setHierarchy

public final void setHierarchy(ResultHierarchy hierarchy)
Description copied from interface: HierarchicalResult
Set (exchange) the hierarchy implementation (e.g. after merging!)

Specified by:
setHierarchy in interface HierarchicalResult
Parameters:
hierarchy - New hierarchy

addChildResult

public void addChildResult(Result child)
Add a child result.

Parameters:
child - Child result

Release 0.4.0 (2011-09-20_1324)