|
Alexandria
2.27.0
SDC-CH common library for the Euclid project
|


Public Member Functions | |
| virtual | ~ComputationInterface ()=default |
| ComputationInterface () | |
| size_t | size () const |
| virtual const BinStrategy < VarType > & | getBinStrategy () const =0 |
| virtual std::unique_ptr < ComputationInterface > | clone () const =0 |
| virtual void | clip (VarType min, VarType max)=0 |
| virtual std::tuple< VarType, VarType, VarType > | getStats () const =0 |
Public Attributes | |
| std::shared_ptr< std::vector < WeightType > > | m_counts |
| ssize_t | m_clip_left |
| ssize_t | m_clip_right |
This interface is used to do a type erasure of the BinType passed to the constructor of the histogram: calls to an Histogram instance will be forwarded via the virtual methods to a concrete implementation that knows the actual type of the binning strategy, which will allow the compiler to optimize (i.e. de-virtualize) calls if the overrides are marked as final. This way we can do a single virtual call instead of multiple for things like getStats
Definition at line 317 of file Histogram.h.
|
virtualdefault |
|
inline |
Definition at line 323 of file Histogram.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 326 of file Histogram.h.
References Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_clip_left, and Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_clip_right.
| ssize_t Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_clip_left |
Definition at line 319 of file Histogram.h.
Referenced by Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::size().
| ssize_t Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_clip_right |
Definition at line 319 of file Histogram.h.
Referenced by Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::size().
| std::shared_ptr<std::vector<WeightType> > Euclid::Histogram::Histogram< VarType, WeightType >::ComputationInterface::m_counts |
Definition at line 318 of file Histogram.h.
1.8.5