$extrastylesheet
#include <mln/accu/stat/median_alt.hh>
Public Member Functions | |
| median_alt (const Value_Set< S > &s) | |
| bool | is_valid () const |
| const S::value & | 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 | take (const argument &t) |
| void | untake (const argument &t) |
| void | init () |
Protected Member Functions | |
| void | go_minus_ () |
| void | go_plus_ () |
Protected Attributes | |
| histo< S > | h_ |
| unsigned | i_ |
| const S & | s_ |
| unsigned | sum_minus_ |
| unsigned | sum_plus_ |
| argument | t_ |
Public Types | |
| typedef S::value | argument |
| typedef Accumulator< void > | category |
| typedef median_alt< S > | exact_t |
| typedef const S::value & | q_result |
| typedef mln::metal::unqualif < const S::value & >::ret | result |
Generic median_alt function based on histogram over a value set with type S.
Definition at line 54 of file median_alt.hh.
| mln::accu::stat::median_alt< S >::median_alt | ( | const Value_Set< S > & | s | ) |
|
protected |
|
protected |
| void mln::accu::stat::median_alt< S >::init | ( | ) |
| bool mln::accu::stat::median_alt< S >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
| void mln::accu::stat::median_alt< S >::take | ( | const argument & | t | ) |
Manipulators.
|
inherited |
Take as initialization the value t.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
|
inherited |
Take n times the value t.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
| const argument& mln::accu::stat::median_alt< S >::to_result | ( | ) | const |
Get the value of the accumulator.
| void mln::accu::stat::median_alt< S >::untake | ( | const argument & | t | ) |
|
protected |
Definition at line 76 of file median_alt.hh.
|
protected |
the median index
Definition at line 83 of file median_alt.hh.
|
protected |
derived from h_
Definition at line 78 of file median_alt.hh.
|
protected |
Definition at line 80 of file median_alt.hh.
|
protected |
Definition at line 80 of file median_alt.hh.
|
protected |
the median argument
Definition at line 85 of file median_alt.hh.
| typedef S ::value mln::accu::stat::median_alt< S >::argument |
Definition at line 56 of file median_alt.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
|
inherited |