Public Member Functions

mln::accu::stat::rank< bool > Struct Template Reference
[On values]

rank accumulator class for Boolean. More...

#include <rank_bool.hh>

Inherits base< bool, rank< bool > >.

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.
bool to_result () const
 Get the value of the accumulator.

void init ()
 Manipulators.

Detailed Description

template<>
struct mln::accu::stat::rank< bool >

rank accumulator class for Boolean.

Definition at line 58 of file rank_bool.hh.


Member Function Documentation

void mln::accu::stat::rank< bool >::init (  )  [inline]

Manipulators.

Definition at line 105 of file rank_bool.hh.

bool mln::accu::stat::rank< bool >::is_valid (  )  const [inline]

Check whether this accu is able to return a result.

Always true here.

Definition at line 157 of file rank_bool.hh.

void mln::Accumulator< rank< bool > >::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< rank< bool > >::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 '_').

bool mln::accu::stat::rank< bool >::to_result (  )  const [inline]

Get the value of the accumulator.

Definition at line 150 of file rank_bool.hh.