Public Types | Public Member Functions | Public Attributes

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 threshold< V > 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).


Member Typedef Documentation

typedef Function_v2b<void> mln::Function_v2b< threshold< V > >::category [inherited]
typedef threshold< V > mln::Object< threshold< V > >::exact_t [inherited]
typedef void mln::Function_v2v< threshold< V > >::mutable_result [inherited]
template<typename V>
typedef bool mln::fun::v2b::threshold< V >::result

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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