LocARNA-1.8.11
Public Member Functions | List of all members
LocARNA::ArcMatches::lex_greater_left_ends Class Reference

Compare two arc match indices by lexicographically comparing their left ends. More...

#include <arc_matches.hh>

Public Member Functions

 lex_greater_left_ends (const ArcMatches &arc_matches_)
 
bool operator() (const ArcMatch::idx_type &i, const ArcMatch::idx_type &j) const
 Compare to arc matches. More...
 

Detailed Description

Compare two arc match indices by lexicographically comparing their left ends.

Constructor & Destructor Documentation

LocARNA::ArcMatches::lex_greater_left_ends::lex_greater_left_ends ( const ArcMatches arc_matches_)
inlineexplicit

Construct with access to arc matches

Parameters
arc_matches_

Member Function Documentation

bool LocARNA::ArcMatches::lex_greater_left_ends::operator() ( const ArcMatch::idx_type i,
const ArcMatch::idx_type j 
) const
inline

Compare to arc matches.

Compares two arc matches by their left ends lexicographically

Parameters
iindex of first arc match
jindex of second arc match
Returns
whether the first arc match is larger than the second

The documentation for this class was generated from the following file: