KJB
|
Functor to compare two tracks. If this were not defined, an association would order its tracks using operator<(pair, pair), which would eventually order by the address of the detection. We use this one to avoid this comparison by address and instead use a value comparison. This way the order will not change every time we read an association. More...
#include <mcmcda_association.h>
Public Member Functions | |
bool | operator() (const Track &t1, const Track &t2) const |
Compare two tracks. More... | |
bool | compare_elements (const typename Track::value_type &p1, const typename Track::value_type &p2) const |
Compare two track elements. More... | |
Functor to compare two tracks. If this were not defined, an association would order its tracks using operator<(pair, pair), which would eventually order by the address of the detection. We use this one to avoid this comparison by address and instead use a value comparison. This way the order will not change every time we read an association.
|
inline |
Compare two track elements.
|
inline |
Compare two tracks.