Functions
contrib/rpl/rgrl/rgrl_invariant_match.cxx File Reference
#include "rgrl_invariant_match.h"
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

bool operator< (const rgrl_invariant_match &left, const rgrl_invariant_match &right)
 Compares two matches on the basis of invariance distance.
bool operator> (const rgrl_invariant_match &left, const rgrl_invariant_match &right)
 Compares two matches on the basis of invariance distance.
bool dist_less (const vbl_smart_ptr< rgrl_invariant_match > &left, const vbl_smart_ptr< rgrl_invariant_match > &right)
 Same as operator <, but operates on smart pointers to constellation matches.
bool dist_greater (const vbl_smart_ptr< rgrl_invariant_match > &left, const vbl_smart_ptr< rgrl_invariant_match > &right)
 Same as operator >, but operates on smart pointers to constellation matches.

Function Documentation

bool dist_greater ( const vbl_smart_ptr< rgrl_invariant_match > &  left,
const vbl_smart_ptr< rgrl_invariant_match > &  right 
)

Same as operator >, but operates on smart pointers to constellation matches.

Note:
This function is used to in vcl_sort to sort vectors of smart pointers to pregl_constellation_match objects

Definition at line 90 of file rgrl_invariant_match.cxx.

bool dist_less ( const vbl_smart_ptr< rgrl_invariant_match > &  left,
const vbl_smart_ptr< rgrl_invariant_match > &  right 
)

Same as operator <, but operates on smart pointers to constellation matches.

Note:
This function is used to in vcl_sort to sort vectors of smart pointers to pregl_constellation_match objects

Definition at line 84 of file rgrl_invariant_match.cxx.

bool operator< ( const rgrl_invariant_match left,
const rgrl_invariant_match right 
)

Compares two matches on the basis of invariance distance.

Definition at line 72 of file rgrl_invariant_match.cxx.

bool operator> ( const rgrl_invariant_match left,
const rgrl_invariant_match right 
)

Compares two matches on the basis of invariance distance.

Definition at line 78 of file rgrl_invariant_match.cxx.