$extrastylesheet
#include <mln/accu/stat/min_h.hh>
Public Member Functions | |
min_h () | |
unsigned | card () const |
void | debug_print_ () const |
const accu::histo< V > & | histo () const |
bool | is_valid () const |
const V & | subj_ () |
void | take_as_init (const T &t) |
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 argument & | to_result () const |
void | init () |
void | take (const argument &t) |
void | take_as_init_ (const argument &t) |
void | take (const min_h< V > &other) |
void | untake (const argument &t) |
Protected Member Functions | |
void | go_minus_ () const |
void | go_plus_ () const |
void | update_ () const |
Protected Attributes | |
accu::histo< V > | h_ |
unsigned | i_ |
const value::set< V > & | s_ |
unsigned | sum_ |
argument | t_ |
bool | valid_ |
Public Types | |
typedef V | argument |
typedef Accumulator< void > | category |
typedef min_h< V > | exact_t |
typedef const V & | q_result |
typedef mln::metal::unqualif < const V & >::ret | result |
Generic min function based on histogram over a value set with type V
.
mln::accu::stat::min_h< V >::min_h | ( | ) |
|
inline |
void mln::accu::stat::min_h< V >::debug_print_ | ( | ) | const |
|
protected |
|
protected |
const accu::histo<V>& mln::accu::stat::min_h< V >::histo | ( | ) | const |
void mln::accu::stat::min_h< V >::init | ( | ) |
Manipulators.
bool mln::accu::stat::min_h< V >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
void mln::accu::stat::min_h< V >::take | ( | const argument & | t | ) |
void mln::accu::stat::min_h< V >::take | ( | const min_h< V > & | other | ) |
|
inherited |
Take as initialization the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
void mln::accu::stat::min_h< V >::take_as_init_ | ( | const argument & | t | ) |
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
const argument& mln::accu::stat::min_h< V >::to_result | ( | ) | const |
Get the value of the accumulator.
void mln::accu::stat::min_h< V >::untake | ( | const argument & | t | ) |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
typedef V mln::accu::stat::min_h< V >::argument |
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |