public class NormalisedBinnedData extends Object implements BinnedData
BinnedData.Bin| Constructor and Description |
|---|
NormalisedBinnedData(BinnedData base)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<BinnedData.Bin> |
getBinIterator(boolean includeEmpty)
Returns an iterator over the bins managed by this object.
|
int |
getSetCount()
Returns the number of subsets for which this object maintains bins.
|
boolean |
isInteger()
Returns false.
|
void |
submitDatum(double value,
double weight,
boolean[] setFlags)
Submits a value for inclusion in this BinnedData object.
|
public NormalisedBinnedData(BinnedData base)
base - binned data object providing basic functionalitypublic void submitDatum(double value,
double weight,
boolean[] setFlags)
BinnedDatasubmitDatum in interface BinnedDatavalue - value for inclusionweight - weightingsetFlags - array of flags, one for each subset;
true for inclusion, false for exclusionpublic int getSetCount()
BinnedDatagetSetCount in interface BinnedDatapublic boolean isInteger()
isInteger in interface BinnedDataBin.getWeightedCount returns
are integer valuespublic Iterator<BinnedData.Bin> getBinIterator(boolean includeEmpty)
BinnedDataIt is inadvisable to call BinnedData.submitDatum(double, double, boolean[]) during the
lifetime of this iterator.
getBinIterator in interface BinnedDataincludeEmpty - if true, then all bins between the lowest
and highest must be iterated over. If false, then empty
bins may be omittedBinnedData.Bin instancesCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.