de.lmu.ifi.dbs.elki.math
Class AggregatingHistogram.Adapter<T,D>
java.lang.Object
de.lmu.ifi.dbs.elki.math.ReplacingHistogram.Adapter<T>
de.lmu.ifi.dbs.elki.math.AggregatingHistogram.Adapter<T,D>
- Type Parameters:
T
- Histogram bin typeD
- 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
Method Summary |
abstract T |
aggregate(T existing,
D data)
Update an existing histogram value with new data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatingHistogram.Adapter
public AggregatingHistogram.Adapter()
aggregate
public abstract T aggregate(T existing,
D data)
- Update an existing histogram value with new data.
- Parameters:
existing
- Existing histogram datadata
- New value
- Returns:
- Aggregated value