Generic median function based on histogram over a value set with type V
.
More...
#include <median_h.hh>
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 argument & | to_result () const |
Get the value of the accumulator. | |
void | init () |
Manipulators. |
Generic median function based on histogram over a value set with type V
.
Definition at line 82 of file median_h.hh.
void mln::accu::stat::median_h< V >::init | ( | ) | [inline] |
Manipulators.
Definition at line 267 of file median_h.hh.
bool mln::accu::stat::median_h< V >::is_valid | ( | ) | const [inline] |
Check whether this accu is able to return a result.
Always true here.
Definition at line 299 of file median_h.hh.
void mln::Accumulator< median_h< V > >::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< median_h< V > >::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 median_h< V >::argument & mln::accu::stat::median_h< V >::to_result | ( | ) | const [inline] |
Get the value of the accumulator.
Definition at line 281 of file median_h.hh.