Generic rank accumulator class. More...
#include <rank_high_quant.hh>
Inherits base< const T &, rank_high_quant< T > >.
Public Member Functions | |
bool | is_valid () const |
Check whether this accu is able to return a result. | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . | |
const T & | to_result () const |
Get the value of the accumulator. | |
void | init () |
Manipulators. |
Generic rank accumulator class.
The parameter T
is the type of values.
Definition at line 57 of file rank_high_quant.hh.
void mln::accu::stat::rank_high_quant< T >::init | ( | ) | [inline] |
Manipulators.
Definition at line 148 of file rank_high_quant.hh.
bool mln::accu::stat::rank_high_quant< T >::is_valid | ( | ) | const [inline] |
Check whether this accu is able to return a result.
Always true here.
Definition at line 197 of file rank_high_quant.hh.
void mln::Accumulator< rank_high_quant< T > >::take_as_init | ( | const T & | t | ) | [inherited] |
Take as initialization the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
void mln::Accumulator< rank_high_quant< T > >::take_n_times | ( | unsigned | n, | |
const T & | t | |||
) | [inherited] |
Take n
times the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
const T & mln::accu::stat::rank_high_quant< T >::to_result | ( | ) | const [inline] |
Get the value of the accumulator.
Definition at line 183 of file rank_high_quant.hh.