A ``greater than'' functor comparing psites w.r.t. More...
#include <greater_psite.hh>
Public Types | |
typedef I::psite | psite |
Public Member Functions | |
greater_psite (const Image< I > &ima) | |
bool | operator() (const psite &x, const psite &y) |
Is x greater than y? | |
Private Attributes | |
const I & | ima_ |
A ``greater than'' functor comparing psites w.r.t.
the values they refer to in an image.
This functor used in useful to implement ordered queues of psites.
typedef I ::psite mln::util::greater_psite< I >::psite |
mln::util::greater_psite< I >::greater_psite | ( | const Image< I > & | ima | ) |
bool mln::util::greater_psite< I >::operator() | ( | const psite & | x, | |
const psite & | y | |||
) |
Is x greater than y?
References mln::util::greater_psite< I >::ima_.
const I& mln::util::greater_psite< I >::ima_ [private] |
Referenced by mln::util::greater_psite< I >::operator()().