$extrastylesheet
#include <mln/accu/stat/rank_high_quant.hh>
Public Member Functions | |
rank_high_quant (unsigned k, unsigned n) | |
bool | is_valid () const |
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 rank_high_quant< T > &other) |
void | sort () |
Protected Attributes | |
std::vector< T > | elts_ |
bool | is_sorted_ |
unsigned | k_ |
unsigned | n_ |
Public Types | |
typedef T | argument |
typedef Accumulator< void > | category |
typedef rank_high_quant< T > | exact_t |
typedef const T & | q_result |
typedef mln::metal::unqualif < const T & >::ret | result |
Generic rank accumulator class.
The parameter T
is the type of values.
Definition at line 57 of file rank_high_quant.hh.
mln::accu::stat::rank_high_quant< T >::rank_high_quant | ( | unsigned | k, |
unsigned | n | ||
) |
void mln::accu::stat::rank_high_quant< T >::init | ( | ) |
Manipulators.
bool mln::accu::stat::rank_high_quant< T >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
void mln::accu::stat::rank_high_quant< T >::sort | ( | ) |
|
inherited |
void mln::accu::stat::rank_high_quant< T >::take | ( | const argument & | t | ) |
void mln::accu::stat::rank_high_quant< T >::take | ( | const rank_high_quant< T > & | other | ) |
|
inherited |
Take as initialization the value t
.
void mln::accu::stat::rank_high_quant< T >::take_as_init_ | ( | const argument & | t | ) |
INTERNAL_API
Default implementation of "take as initialization".
Reimplemented from mln::Accumulator< rank_high_quant< T > >.
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
const T& mln::accu::stat::rank_high_quant< T >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
Definition at line 81 of file rank_high_quant.hh.
|
protected |
Definition at line 82 of file rank_high_quant.hh.
|
protected |
Definition at line 83 of file rank_high_quant.hh.
|
protected |
Definition at line 84 of file rank_high_quant.hh.
typedef T mln::accu::stat::rank_high_quant< T >::argument |
Definition at line 59 of file rank_high_quant.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
|
inherited |