$extrastylesheet
#include <mln/accu/stat/rank_bool.hh>
Public Member Functions | |
| rank () | |
| rank (unsigned k) | |
| bool | is_valid () const |
| bool | 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) |
| bool | to_result () const |
| void | init () |
| void | take_as_init_ (const argument &t) |
| void | take (const argument &t) |
| void | take (const rank< bool > &other) |
| void | untake (const argument &t) |
| void | untake (const rank< bool > &other) |
Protected Attributes | |
| unsigned | k_ |
| unsigned | nfalse_ |
Public Types | |
| typedef bool | argument |
| typedef Accumulator< void > | category |
| typedef rank< bool > | exact_t |
| typedef bool | q_result |
| typedef mln::metal::unqualif < bool >::ret | result |
rank accumulator class for Boolean.
Definition at line 58 of file rank_bool.hh.
| mln::accu::stat::rank< bool >::rank | ( | ) |
| mln::accu::stat::rank< bool >::rank | ( | unsigned | k | ) |
| void mln::accu::stat::rank< bool >::init | ( | ) |
Manipulators.
| bool mln::accu::stat::rank< bool >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
| void mln::accu::stat::rank< bool >::take | ( | const argument & | t | ) |
| void mln::accu::stat::rank< bool >::take | ( | const rank< bool > & | other | ) |
|
inherited |
Take as initialization the value t.
| void mln::accu::stat::rank< bool >::take_as_init_ | ( | const argument & | 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".
| bool mln::accu::stat::rank< bool >::to_result | ( | ) | const |
Get the value of the accumulator.
| void mln::accu::stat::rank< bool >::untake | ( | const argument & | t | ) |
| void mln::accu::stat::rank< bool >::untake | ( | const rank< bool > & | other | ) |
|
protected |
Definition at line 84 of file rank_bool.hh.
|
protected |
Definition at line 83 of file rank_bool.hh.
| typedef bool mln::accu::stat::rank< bool >::argument |
Definition at line 60 of file rank_bool.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.