![]() |
Rosetta
2021.16
|
comparator based on one of the score components calculated for fragments More...
#include <CommonFragmentComparators.hh>

Public Member Functions | |
| CompareScoreComponent (core::Size component_id) | |
| Sets up the comparator based on a given score component. More... | |
| bool | operator() (ScoredCandidate first_candidate, ScoredCandidate second_candidate) override |
| compares two fragment candidates More... | |
Private Attributes | |
| core::Size | component_id_ |
comparator based on one of the score components calculated for fragments
returns true if first pair has lower score component than the second one
|
inline |
Sets up the comparator based on a given score component.
References component_id_.
|
inlineoverridevirtual |
compares two fragment candidates
returns true if second pair has greater total score than the first one. Using this comparator to sort fragment candidates order them ascending according to their total score
Implements protocols::frag_picker::FragmentComparatorBase.
References component_id_.
|
private |
Referenced by CompareScoreComponent(), and operator()().
1.8.7