mln::accu::internal::base< R, E > Class Template Reference

Generic min accumulator class. More...

#include <base.hh>

Inherits mln::Accumulator< E >.

Inherited by mln::accu::shape::bbox< S::site >, mln::accu::shape::bbox< Sc::site >, mln::accu::math::count< P >, mln::accu::internal::couple< mln::accu::shape::bbox< P >, mln::accu::math::count< P >, float, mln::accu::site_set::rectangularity< P > >, mln::accu::histo< I::value >, mln::accu::histo< mln::value::set< T > >, mln::accu::histo< S >, mln::accu::histo< T >, mln::accu::stat::max< V >, mln::accu::stat::median_alt< mln::value::set< T > >, mln::accu::stat::median_h< I::value >, mln::accu::stat::min< V >, mln::accu::center< P, V >, mln::accu::convolve< T1, T2, R >, mln::accu::count_adjacent_vertices< F, S >, mln::accu::count_labels< L >, mln::accu::count_value< V >, mln::accu::histo< V >, mln::accu::internal::couple< A1, A2, R, E >, mln::accu::label_used< L >, mln::accu::logic::land, mln::accu::logic::land_basic, mln::accu::logic::lor, mln::accu::logic::lor_basic, mln::accu::maj_h< T >, mln::accu::math::count< T >, mln::accu::math::inf< T >, mln::accu::math::sum< T, S >, mln::accu::math::sup< T >, mln::accu::max_site< I >, mln::accu::nil< T >, mln::accu::p< A >, mln::accu::pair< A1, A2, T >, mln::accu::rms< T, V >, mln::accu::shape::bbox< P >, mln::accu::shape::height< I >, mln::accu::shape::volume< I >, mln::accu::stat::deviation< T, S, M >, mln::accu::stat::max< T >, mln::accu::stat::max_h< V >, mln::accu::stat::mean< T, S, M >, mln::accu::stat::median_alt< S >, mln::accu::stat::median_h< V >, mln::accu::stat::min< T >, mln::accu::stat::min_h< V >, mln::accu::stat::rank< T >, mln::accu::stat::rank< bool >, mln::accu::stat::rank_high_quant< T >, mln::accu::stat::var< T >, mln::accu::stat::variance< T, S, R >, mln::accu::tuple< A, n, >, mln::accu::val< A >, mln::morpho::attribute::card< I >, mln::morpho::attribute::count_adjacent_vertices< I >, mln::morpho::attribute::height< I >, mln::morpho::attribute::sharpness< I >, mln::morpho::attribute::sum< I, S >, mln::morpho::attribute::volume< I >, and mln::accu::pair< mln::accu::stat::min< V >, mln::accu::stat::max< V > >.

List of all members.

Public Types

typedef Accumulator< void > category
typedef E exact_t
typedef R q_result
typedef mln::metal::unqualif
< R >::ret 
result

Public Member Functions

subj_ ()
template<typename T>
void take_as_init (const T &t)
 Take as initialization the value t.
template<typename T>
void take_as_init_ (const T &t)
 Default implementation of "take as initialization".
template<typename T>
void take_n_times (unsigned n, const T &t)
 Take n times the value t.
template<typename T>
void take_n_times_ (unsigned n, const T &t)
 Default implementation of "take n times".

Protected Member Functions

 base ()


Detailed Description

template<typename R, typename E>
class mln::accu::internal::base< R, E >

Generic min accumulator class.

Base class for implementation of accumulator classes.

Definition at line 49 of file base.hh.


Member Typedef Documentation

template<typename E>
typedef Accumulator<void> mln::Accumulator< E >::category [inherited]

Reimplemented from mln::Proxy< E >.

Definition at line 80 of file accumulator.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename R, typename E>
typedef R mln::accu::internal::base< R, E >::q_result

Definition at line 58 of file base.hh.

template<typename R, typename E>
typedef mln::metal::unqualif< R >::ret mln::accu::internal::base< R, E >::result


Constructor & Destructor Documentation

template<typename R, typename E>
base::base (  )  [inline, protected]

Definition at line 70 of file base.hh.


Member Function Documentation

template<typename R, typename E>
R base::subj_ (  )  [inline]

Definition at line 77 of file base.hh.

References mln::exact().

template<typename E>
template<typename T>
void mln::Accumulator< E >::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 '_').

Reimplemented in mln::accu::stat::variance< T, S, R >.

Definition at line 186 of file accumulator.hh.

References mln::exact(), and mln::mln_exact().

Referenced by mln::morpho::elementary::impl::gradient_on_function(), and mln::morpho::elementary::impl::gradient_on_function_fastest().

template<typename E>
template<typename T>
void mln::Accumulator< E >::take_as_init_ ( const T &  t  )  [inline, inherited]

template<typename E>
template<typename T>
void mln::Accumulator< E >::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 '_').

Definition at line 213 of file accumulator.hh.

References mln::exact(), and mln::mln_exact().

template<typename E>
template<typename T>
void mln::Accumulator< E >::take_n_times_ ( unsigned  n,
const T &  t 
) [inline, inherited]

Default implementation of "take n times".

Reimplemented in mln::accu::stat::var< T >.

Definition at line 230 of file accumulator.hh.

References mln::exact().


Generated on Sun Apr 25 01:57:25 2010 for Milena (Olena) by  doxygen 1.5.6