Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::accu::stat::max_h< V > Struct Template Reference

Generic max function based on histogram over a value set with type V. More...

#include <max_h.hh>

Inherits mln::accu::internal::base< const V &, max_h< V > >.

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 init ()
 Manipulators.
 

Detailed Description

template<typename V>
struct mln::accu::stat::max_h< V >

Generic max function based on histogram over a value set with type V.

Definition at line 100 of file max_h.hh.

Member Function Documentation

template<typename V >
void max_h< V >::init ( )
inline

Manipulators.

Definition at line 280 of file max_h.hh.

template<typename V >
bool max_h< V >::is_valid ( ) const
inline

Check whether this accu is able to return a result.

Always true here.

Definition at line 323 of file max_h.hh.

void mln::Accumulator< max_h< V > >::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< max_h< V > >::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 V >
const max_h< V >::argument & max_h< V >::to_result ( ) const
inline

Get the value of the accumulator.

Definition at line 304 of file max_h.hh.