$extrastylesheet
#include <mln/accu/stat/max.hh>
Public Member Functions | |
| max () | |
| bool | is_valid () const |
| void | set_value (const T &t) |
| const T & | subj_ () |
| void | take_as_init (const T &t) |
| void | take_n_times (unsigned n, const T &t) |
| void | take_n_times_ (unsigned n, const T &t) |
| const T & | to_result () const |
| void | init () |
| void | take_as_init_ (const argument &t) |
| void | take (const argument &t) |
| void | take (const max< T > &other) |
Protected Attributes | |
| T | t_ |
Public Types | |
| typedef T | argument |
| typedef Accumulator< void > | category |
| typedef max< T > | exact_t |
| typedef const T & | q_result |
| typedef mln::metal::unqualif < const T & >::ret | result |
Generic max accumulator class.
The parameter T is the type of values.
Definition at line 101 of file accu/stat/max.hh.
| mln::accu::stat::max< T >::max | ( | ) |
| void mln::accu::stat::max< T >::init | ( | ) |
Manipulators.
| bool mln::accu::stat::max< T >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
| void mln::accu::stat::max< T >::set_value | ( | const T & | t | ) |
Force the value of the min to t.
|
inherited |
| void mln::accu::stat::max< T >::take | ( | const argument & | t | ) |
| void mln::accu::stat::max< T >::take | ( | const max< T > & | other | ) |
|
inherited |
Take as initialization the value t.
| void mln::accu::stat::max< T >::take_as_init_ | ( | const argument & | t | ) |
INTERNAL_API
Default implementation of "take as initialization".
Reimplemented from mln::Accumulator< max< T > >.
|
inherited |
Take n times the value t.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
| const T& mln::accu::stat::max< T >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
Definition at line 127 of file accu/stat/max.hh.
| typedef T mln::accu::stat::max< T >::argument |
Definition at line 103 of file accu/stat/max.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.