ProteoWizard
|
#include <bucket1d.hpp>
Public Member Functions | |
Bucket1D (std::vector< double > &breaks, std::vector< uint32_t > &indic) | |
CTor. More... | |
Bucket1D (const Bucket1D &rhs) | |
CCTor. More... | |
Bucket1D & | operator= (const Bucket1D &rhs) |
template<typename InputIterator > | |
void | operator() (InputIterator beg, InputIterator end, std::vector< std::pair< std::size_t, std::size_t > > &bucketPairs) |
The result tells you in which bucket which input should end up. More... | |
std::pair< std::size_t, bool > | operator() (double dat) |
the std::size_t indicates to which bucket dat belongs too. The bool indicates if a new bucket is of interest More... | |
Private Member Functions | |
void | set (const std::vector< double > &breaks, const std::vector< uint32_t > &indic) |
set the data More... | |
Private Attributes | |
std::vector< double > | breaks_ |
std::vector< uint32_t > | indicator_ |
double * | begbreaks_ |
double * | endbreaks_ |
uint32_t * | indicatorptr_ |
Definition at line 38 of file bucket1d.hpp.
|
inline |
CTor.
Definition at line 50 of file bucket1d.hpp.
References ralab::base::resample::breaks().
|
inline |
CCTor.
Definition at line 59 of file bucket1d.hpp.
References breaks_, and indicator_.
|
inlineprivate |
set the data
Definition at line 68 of file bucket1d.hpp.
References ralab::base::resample::breaks().
Definition at line 84 of file bucket1d.hpp.
References breaks_, and indicator_.
|
inline |
The result tells you in which bucket which input should end up.
beg | Check wich of these masses should be bucketed |
Definition at line 96 of file bucket1d.hpp.
|
inline |
the std::size_t indicates to which bucket dat belongs too. The bool indicates if a new bucket is of interest
Definition at line 119 of file bucket1d.hpp.
|
private |
Definition at line 41 of file bucket1d.hpp.
Referenced by Bucket1D(), and operator=().
|
private |
Definition at line 42 of file bucket1d.hpp.
Referenced by Bucket1D(), and operator=().
|
private |
Definition at line 45 of file bucket1d.hpp.
|
private |
Definition at line 46 of file bucket1d.hpp.
|
private |
Definition at line 47 of file bucket1d.hpp.