Generic max function based on histogram over a value set with type V.
More...
#include <max_h.hh>
Inherits mln::accu::internal::base< const V &, max_h< V > >.
|
| 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.
|
| |
template<typename V>
struct mln::accu::stat::max_h< V >
Generic max function based on histogram over a value set with type V.
Definition at line 100 of file max_h.hh.
template<typename V >
| void max_h< V >::init |
( |
| ) |
|
|
inline |
template<typename V >
| bool max_h< V >::is_valid |
( |
| ) |
const |
|
inline |
Check whether this accu is able to return a result.
Always true here.
Definition at line 323 of file max_h.hh.
Take as initialization the value t.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Take n times the value t.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
template<typename V >
| const max_h< V >::argument & max_h< V >::to_result |
( |
| ) |
const |
|
inline |
Get the value of the accumulator.
Definition at line 304 of file max_h.hh.