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