![]() |
ATLAS Offline Software
|
#include <ConstantContentBinMaker.h>
Public Member Functions | |
| ConstantContentBinMaker (const std::vector< DataPoint > &points, const double epsilon) | |
| Constructor. | |
| ~ConstantContentBinMaker () | |
| bool | binDataPoints (const unsigned int &bin_content, std::vector< unsigned int > &ref_coord) |
| group the data points into bins of equal content "bin_content"; returns true in case of success, false otherwise; splitting is done along the coordinate axes stored in ref_coord successively; if ref_coord is of size 0, splitting will be done in all axes successively | |
| const std::vector< DataBin * > & | getBins () const |
| get the bins determined by the method "binDataPoints" | |
Private Attributes | |
| std::vector< DataPoint > | m_points |
| std::vector< DataBin * > | m_bins |
| double | m_epsilon |
Definition at line 37 of file ConstantContentBinMaker.h.
| ConstantContentBinMaker::ConstantContentBinMaker | ( | const std::vector< DataPoint > & | points, |
| const double | epsilon ) |
Constructor.
| points | Data points to be grouped into bins. |
| epsilon | The upper boundaries of the seed bin are shifted by epsilon to create a half-open intervall containing all data points. |
Definition at line 23 of file ConstantContentBinMaker.cxx.
| ConstantContentBinMaker::~ConstantContentBinMaker | ( | ) |
Definition at line 32 of file ConstantContentBinMaker.cxx.
| bool ConstantContentBinMaker::binDataPoints | ( | const unsigned int & | bin_content, |
| std::vector< unsigned int > & | ref_coord ) |
group the data points into bins of equal content "bin_content"; returns true in case of success, false otherwise; splitting is done along the coordinate axes stored in ref_coord successively; if ref_coord is of size 0, splitting will be done in all axes successively
Definition at line 46 of file ConstantContentBinMaker.cxx.
get the bins determined by the method "binDataPoints"
Definition at line 120 of file ConstantContentBinMaker.cxx.
|
private |
Definition at line 66 of file ConstantContentBinMaker.h.
|
private |
Definition at line 67 of file ConstantContentBinMaker.h.
|
private |
Definition at line 65 of file ConstantContentBinMaker.h.