Public Member Functions

mln::accu::stat::median_alt< S > Struct Template Reference
[On values]

Generic median_alt function based on histogram over a value set with type S. More...

#include <median_alt.hh>

Inheritance diagram for mln::accu::stat::median_alt< S >:
Inheritance graph

List of all members.

Public Member Functions

bool is_valid () const
 Check whether this accu is able to return a result.
void take_as_init (const T &t)
 Take as initialization the value t.
void take_n_times (unsigned n, const T &t)
 Take n times the value t.
const argument & to_result () const
 Get the value of the accumulator.

void take (const argument &t)
 Manipulators.

Detailed Description

template<typename S>
struct mln::accu::stat::median_alt< S >

Generic median_alt function based on histogram over a value set with type S.

Definition at line 54 of file median_alt.hh.


Member Function Documentation

template<typename S >
bool mln::accu::stat::median_alt< S >::is_valid (  )  const [inline]

Check whether this accu is able to return a result.

Always true here.

Definition at line 282 of file median_alt.hh.

template<typename S >
void mln::accu::stat::median_alt< S >::take ( const argument &  t  )  [inline]

Manipulators.

Definition at line 165 of file median_alt.hh.

void mln::Accumulator< median_alt< S > >::take_as_init ( const T &  t  )  [inherited]

Take as initialization the value t.

Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').

void mln::Accumulator< median_alt< S > >::take_n_times ( unsigned  n,
const T &  t 
) [inherited]

Take n times the value t.

Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').

template<typename S >
const median_alt< S >::argument & mln::accu::stat::median_alt< S >::to_result (  )  const [inline]

Get the value of the accumulator.

Definition at line 274 of file median_alt.hh.