NCBI C++ ToolKit
Public Member Functions | List of all members
compare_hit_redundant Struct Reference

Search Toolkit Book for compare_hit_redundant

Callback used to sort hits into canonical order. More...

Public Member Functions

bool operator() (CHitList::TListEntry const &aa, CHitList::TListEntry const &bb) const
 Sort by seq1 index, then seq2 index, then seq1 range, then seq2 range, then score. More...
 

Detailed Description

Callback used to sort hits into canonical order.

Definition at line 49 of file hitlist.cpp.

Member Function Documentation

◆ operator()()

bool compare_hit_redundant::operator() ( CHitList::TListEntry const aa,
CHitList::TListEntry const bb 
) const
inline

Sort by seq1 index, then seq2 index, then seq1 range, then seq2 range, then score.

Parameters
aaFirst hit [in]
bbSecond hit [in]
trueif aa and bb are in the correct order

Definition at line 58 of file hitlist.cpp.

References a, b, and bb.


The documentation for this struct was generated from the following file:
Modified on Sun Jul 21 04:21:42 2024 by modify_doxy.py rev. 669887