meshi.util.histogram
Class HistogramBin
java.lang.Object
meshi.util.histogram.HistogramBin
- All Implemented Interfaces:
- java.lang.Comparable
public class HistogramBin
- extends java.lang.Object
- implements java.lang.Comparable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
centerValue
private double centerValue
position
private int position
numberOfOccurrences
private int numberOfOccurrences
fractionOfOccurrences
private double fractionOfOccurrences
histogram
private Histogram histogram
HistogramBin
public HistogramBin(double center,
int pos)
HistogramBin
public HistogramBin(double center,
int pos,
Histogram histogram)
centerValue
public double centerValue()
fractionOfOccurrences
public double fractionOfOccurrences(int sum)
fractionOfOccurrences
public double fractionOfOccurrences()
numberOfOccurrences
public int numberOfOccurrences()
increment
public HistogramBin increment()
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo in interface java.lang.Comparable
position
public int position()