mln::fun::v2b::threshold< V > Struct Template Reference

Threshold function. More...

#include <threshold.hh>

Inheritance diagram for mln::fun::v2b::threshold< V >:

Inheritance graph

List of all members.

Public Types

typedef Function_v2b< void > category
typedef E exact_t
typedef void mutable_result
typedef bool result

Public Member Functions

bool operator() (const V &v) const
 threshold (const V &a)

Public Attributes

a


Detailed Description

template<typename V>
struct mln::fun::v2b::threshold< V >

Threshold function.

f(v) = (v >= threshold).

Definition at line 48 of file fun/v2b/threshold.hh.


Member Typedef Documentation

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

Reimplemented from mln::Function_v2v< E >.

Definition at line 119 of file function.hh.

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

Definition at line 172 of file object.hh.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 of file function.hh.

template<typename V>
typedef bool mln::fun::v2b::threshold< V >::result

Reimplemented from mln::Function_v2b< E >.

Definition at line 50 of file fun/v2b/threshold.hh.


Constructor & Destructor Documentation

template<typename V>
mln::fun::v2b::threshold< V >::threshold ( const V &  a  )  [inline]

Definition at line 62 of file fun/v2b/threshold.hh.


Member Function Documentation

template<typename V>
bool mln::fun::v2b::threshold< V >::operator() ( const V &  v  )  const [inline]

Definition at line 70 of file fun/v2b/threshold.hh.

References mln::fun::v2b::threshold< V >::a.


Member Data Documentation

template<typename V>
V mln::fun::v2b::threshold< V >::a

Definition at line 54 of file fun/v2b/threshold.hh.

Referenced by mln::fun::v2b::threshold< V >::operator()().


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