uchicago.src.sim.analysis
Interface BinDataSource
public interface BinDataSource
Interface for objects that can provide double values to compute
bins for a histogram. Histogram are passed a list of objects, and will
iterate through this list passing each object into the getBinValue method.
- Version:
- $Revision: 1.4 $ $Date: 2004/11/03 19:51:00 $
- Author:
- Nick Collier
- See Also:
Histogram
|
Method Summary |
double |
getBinValue(java.lang.Object o)
Gets a value to use in the computation of bins by a Histogram. |
getBinValue
double getBinValue(java.lang.Object o)
- Gets a value to use in the computation of bins by a Histogram. A Histogram
is composed of and displays HistogramItems. The HistogramItem
will iterate through a list of Objects and pass these Objects as arguments
to this method. This method will return some double value used to calculate
the height and value of the bins in the Histogram.
- Parameters:
o - an object in the list passed from the HistogramItem.
- Returns:
- the value used to calculate the bins of a Histogram.
- See Also:
Histogram,
HistogramItem