![]() |
Rosetta
2021.16
|
A simple struct to use in list.sort() to ensure that the hits returned by a secondary matcher which has possibly generated upstream hits out-of-order, will return an ordered-hit-list in its build_hits_at_all_positions() method. More...
#include <SecondaryMatcherToUpstreamResidue.hh>
Public Member Functions | |
| bool | operator() (Hit const &lhs, Hit const &rhs) const |
A simple struct to use in list.sort() to ensure that the hits returned by a secondary matcher which has possibly generated upstream hits out-of-order, will return an ordered-hit-list in its build_hits_at_all_positions() method.
This struct compares the upstream portion of the hits it's returning ensuring that the rotamer indices (the upstream_conf_ids()) are in ascending order for each scaffold build point.
1.8.7