(Template usage borrowed from @ see Cluster)
Public Member Functions | |
MDA_Utils () | |
Constructor. | |
Static Public Member Functions | |
static bool | by_rank (const T &a, const T &b) |
Comparrison used to sort vector of MdaFeatures by DECREASING RANK. | |
static bool | by_range (const T &a, const T &b) |
Comparrison used to sort vector of MdaFeatures by DECREASING RANGE. | |
static bool | by_height (const T &a, const T &b) |
Comparrison used to sort vector of MdaFeatures by DECREASING HT. | |
static std::vector< std::pair< int, int > > | associate (const T *old_feat_begin, const T *old_feat_end, const T *new_feat_begin, const T *new_feat_end, const TimeInterval &TIME_DIFF) |
Perform vertical (3D) or time (4D) associations between vectors of MdaFeatures. | |
static bool | isUnique (const T *old_feat_begin, const T *new_feat_begin, const std::vector< std::vector< int > > &newfeat_vect, const T *curr_oldfeat, const T *curr_newfeat, const TimeInterval &TIME_DIFF) |
static Location | getGuessLocation (const T &old_feat, TimeInterval TIME_DIFF) |
code::MDA_Utils< T >::MDA_Utils | ( | ) |
Constructor.
static std::vector< std::pair<int, int> > code::MDA_Utils< T >::associate | ( | const T * | old_feat_begin, | |
const T * | old_feat_end, | |||
const T * | new_feat_begin, | |||
const T * | new_feat_end, | |||
const TimeInterval & | TIME_DIFF | |||
) | [static] |
Perform vertical (3D) or time (4D) associations between vectors of MdaFeatures.
old_feats | One of the vectors of |
new_feats | The other vector of |
TIME_DIFF | =0 if 3D association, !=0 if 4D association |
static bool code::MDA_Utils< T >::by_height | ( | const T & | a, | |
const T & | b | |||
) | [inline, static] |
Comparrison used to sort vector of MdaFeatures by DECREASING HT.
static bool code::MDA_Utils< T >::by_range | ( | const T & | a, | |
const T & | b | |||
) | [inline, static] |
Comparrison used to sort vector of MdaFeatures by DECREASING RANGE.
static bool code::MDA_Utils< T >::by_rank | ( | const T & | a, | |
const T & | b | |||
) | [inline, static] |
Comparrison used to sort vector of MdaFeatures by DECREASING RANK.
static Location code::MDA_Utils< T >::getGuessLocation | ( | const T & | old_feat, | |
TimeInterval | TIME_DIFF | |||
) | [inline, static] |
static bool code::MDA_Utils< T >::isUnique | ( | const T * | old_feat_begin, | |
const T * | new_feat_begin, | |||
const std::vector< std::vector< int > > & | newfeat_vect, | |||
const T * | curr_oldfeat, | |||
const T * | curr_newfeat, | |||
const TimeInterval & | TIME_DIFF | |||
) | [static] |