Threshold function. More...
#include <threshold.hh>
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 | |
V | a |
Threshold function.
f(v) = (v >= threshold).
typedef Function_v2b<void> mln::Function_v2b< threshold< V > >::category [inherited] |
Reimplemented from mln::Function_v2v< threshold< V > >.
typedef threshold< V > mln::Object< threshold< V > >::exact_t [inherited] |
typedef void mln::Function_v2v< threshold< V > >::mutable_result [inherited] |
typedef bool mln::fun::v2b::threshold< V >::result |
Reimplemented from mln::Function_v2b< threshold< V > >.
mln::fun::v2b::threshold< V >::threshold | ( | const V & | a | ) | [inline] |
bool mln::fun::v2b::threshold< V >::operator() | ( | const V & | v | ) | const [inline] |
References mln::fun::v2b::threshold< V >::a.
V mln::fun::v2b::threshold< V >::a |
Referenced by mln::fun::v2b::threshold< V >::operator()().