Public Types | Public Member Functions | Private Attributes

mln::util::greater_psite< I > Class Template Reference

A ``greater than'' functor comparing psites w.r.t. More...

#include <greater_psite.hh>

List of all members.

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_

Detailed Description

template<typename I>
class mln::util::greater_psite< I >

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.

Definition at line 42 of file greater_psite.hh.


Member Typedef Documentation

template<typename I >
typedef I ::psite mln::util::greater_psite< I >::psite

Definition at line 45 of file greater_psite.hh.


Constructor & Destructor Documentation

template<typename I >
mln::util::greater_psite< I >::greater_psite ( const Image< I > &  ima  ) 

Definition at line 67 of file greater_psite.hh.


Member Function Documentation

template<typename I >
bool mln::util::greater_psite< I >::operator() ( const psite x,
const psite y 
)

Is x greater than y?

Definition at line 74 of file greater_psite.hh.

References mln::util::greater_psite< I >::ima_.


Member Data Documentation

template<typename I >
const I& mln::util::greater_psite< I >::ima_ [private]

Definition at line 53 of file greater_psite.hh.

Referenced by mln::util::greater_psite< I >::operator()().