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.

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.

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

Manipulators.

void mln::Accumulator< median_alt< S > >::take_as_init ( const T &  t  )  [inline, 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 
) [inline, 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.


Generated on Tue Jul 14 16:32:48 2009 for Milena (Olena) by  doxygen 1.5.9