de.lmu.ifi.dbs.elki.math
Class AggregatingHistogram.Adapter<T,D>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.math.ReplacingHistogram.Adapter<T>
      extended by de.lmu.ifi.dbs.elki.math.AggregatingHistogram.Adapter<T,D>
Type Parameters:
T - Histogram bin type
D - Incoming data type
Direct Known Subclasses:
FlexiHistogram.Adapter
Enclosing class:
AggregatingHistogram<T,D>

public abstract static class AggregatingHistogram.Adapter<T,D>
extends ReplacingHistogram.Adapter<T>

Adapter class for an AggregatingHistogram


Constructor Summary
AggregatingHistogram.Adapter()
           
 
Method Summary
abstract  T aggregate(T existing, D data)
          Update an existing histogram value with new data.
 
Methods inherited from class de.lmu.ifi.dbs.elki.math.ReplacingHistogram.Adapter
make
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatingHistogram.Adapter

public AggregatingHistogram.Adapter()
Method Detail

aggregate

public abstract T aggregate(T existing,
                            D data)
Update an existing histogram value with new data.

Parameters:
existing - Existing histogram data
data - New value
Returns:
Aggregated value

Release 0.4.0 (2011-09-20_1324)