public class Histogramm<H> extends Object
Constructor and Description |
---|
Histogramm() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Histogramm<H> otherHisto) |
void |
addDataPoint(H datapoint) |
double |
getAverage()
This only works if the given class type is a number.
|
Map<H,Integer> |
getBackingMap() |
H |
getMaxElement()
Returns the element that was counted the most.
|
int |
getNumber(H datapoint) |
public void addAll(Histogramm<H> otherHisto)
public void addDataPoint(H datapoint)
public int getNumber(H datapoint)
public double getAverage()
public H getMaxElement()
Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie