#include <Histogram1dTem.h>
Inheritance diagram for Impala::Core::Histogram::Histogram1dTem< ElemT >:
Public Member Functions | |
Histogram1dTem (ElemT low, ElemT high, int binCount, ElemT *outliers) | |
Histogram1dTem (ElemT low, ElemT high, int binCount, ElemT *outliers, ElemT *data) | |
virtual | ~Histogram1dTem () |
ElemT | GetLow () |
ElemT | GetHigh () |
int | GetBinCount () |
void | GetBinRange (int bin, ElemT &low, ElemT &high) |
void | SetRange (ElemT low, ElemT high) |
void | Clear () |
void | AddWeight (ElemT value, double weight=1.) |
void | AddWeightSafe (ElemT value, double weight=1.) |
ElemT | GetWeight (ElemT value) |
ElemT | TotalWeight () const |
void | Normalize () |
void | MakeCumulative () |
int | ValueToBin (ElemT value) |
Impala::Real64 | OutlierPercentage () |
void | Dump (bool doData) |
Private Attributes | |
ElemT | mLow |
ElemT | mHigh |
ElemT | mBinWidth |
int | mBinCount |
ElemT * | mOutliers |
ElemT | mLocalOutliers |
the values are ints while the weights may be anything) create a histogram with low = <lowest value>="">-0.5 and high = <highest value>="">+0.5; otherwise the binwidth is too low (all the weights to the highest bin would fall just outside the histogram). See computation of mBinWidht in SetRange().
Definition at line 23 of file Histogram1dTem.h.