$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::accu::stat::min_h< V > Struct Template Reference

#include <mln/accu/stat/min_h.hh>

Public Member Functions

 min_h ()
unsigned card () const
void debug_print_ () const
const accu::histo< V > & histo () const
bool is_valid () const
const V & subj_ ()
void take_as_init (const T &t)
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 argumentto_result () const
void init ()
void take (const argument &t)
void take_as_init_ (const argument &t)
void take (const min_h< V > &other)
void untake (const argument &t)

Protected Member Functions

void go_minus_ () const
void go_plus_ () const
void update_ () const

Protected Attributes

accu::histo< V > h_
unsigned i_
const value::set< V > & s_
unsigned sum_
argument t_
bool valid_

Public Types

typedef V argument
typedef Accumulator< void > category
typedef min_h< V > exact_t
typedef const V & q_result
typedef mln::metal::unqualif
< const V & >::ret 
result

Detailed Description

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

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

Definition at line 100 of file min_h.hh.

Constructor & Destructor Documentation

template<typename V>
mln::accu::stat::min_h< V >::min_h ( )

Member Function Documentation

template<typename V>
unsigned mln::accu::stat::min_h< V >::card ( ) const
inline

Definition at line 115 of file min_h.hh.

template<typename V>
void mln::accu::stat::min_h< V >::debug_print_ ( ) const
template<typename V>
void mln::accu::stat::min_h< V >::go_minus_ ( ) const
protected
template<typename V>
void mln::accu::stat::min_h< V >::go_plus_ ( ) const
protected
template<typename V>
const accu::histo<V>& mln::accu::stat::min_h< V >::histo ( ) const
template<typename V>
void mln::accu::stat::min_h< V >::init ( )

Manipulators.

template<typename V>
bool mln::accu::stat::min_h< V >::is_valid ( ) const

Check whether this accu is able to return a result.

Always true here.

const V & mln::accu::internal::base< const V & , min_h< V > >::subj_ ( )
inherited
template<typename V>
void mln::accu::stat::min_h< V >::take ( const argument t)
template<typename V>
void mln::accu::stat::min_h< V >::take ( const min_h< V > &  other)
void mln::Accumulator< min_h< V > >::take_as_init ( const T t)
inherited

Take as initialization the value t.

void mln::Accumulator< min_h< V > >::take_as_init_ ( const T t)
inherited

INTERNAL_API

Default implementation of "take as initialization".

template<typename V>
void mln::accu::stat::min_h< V >::take_as_init_ ( const argument t)
void mln::Accumulator< min_h< V > >::take_n_times ( unsigned  n,
const T t 
)
inherited

Take n times the value t.

void mln::Accumulator< min_h< V > >::take_n_times_ ( unsigned  n,
const T t 
)
inherited

INTERNAL_API

Default implementation of "take n times".

template<typename V>
const argument& mln::accu::stat::min_h< V >::to_result ( ) const

Get the value of the accumulator.

template<typename V>
void mln::accu::stat::min_h< V >::untake ( const argument t)
template<typename V>
void mln::accu::stat::min_h< V >::update_ ( ) const
protected

Member Data Documentation

template<typename V>
accu::histo<V> mln::accu::stat::min_h< V >::h_
mutableprotected

Definition at line 130 of file min_h.hh.

template<typename V>
unsigned mln::accu::stat::min_h< V >::i_
mutableprotected

Definition at line 135 of file min_h.hh.

template<typename V>
const value::set<V>& mln::accu::stat::min_h< V >::s_
protected

Definition at line 131 of file min_h.hh.

template<typename V>
unsigned mln::accu::stat::min_h< V >::sum_
mutableprotected

Definition at line 133 of file min_h.hh.

template<typename V>
argument mln::accu::stat::min_h< V >::t_
mutableprotected

Definition at line 136 of file min_h.hh.

template<typename V>
bool mln::accu::stat::min_h< V >::valid_
mutableprotected

Definition at line 134 of file min_h.hh.

Member Typedef Documentation

template<typename V>
typedef V mln::accu::stat::min_h< V >::argument

Definition at line 102 of file min_h.hh.

typedef Accumulator<void> mln::Accumulator< min_h< V > >::category
inherited

Definition at line 64 of file accumulator.hh.

typedef min_h< V > mln::Object< min_h< V > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef const V & mln::accu::internal::base< const V & , min_h< V > >::q_result
inherited

Definition at line 58 of file base.hh.

typedef mln::metal::unqualif< const V & >::ret mln::accu::internal::base< const V & , min_h< V > >::result
inherited

Definition at line 59 of file base.hh.