|
Rosetta 3.5
|
selects a given number of fragments using a quota scheme More...
#include <QuotaSelector.hh>


Public Member Functions | |
| QuotaSelector (Size, Size, QuotaCollectorOP) | |
| Constructor sets the desired number of fragments. More... | |
| virtual | ~QuotaSelector () |
| virtual void | select_fragments (ScoredCandidatesVector1 const &in, ScoredCandidatesVector1 &out) |
| Selects desired number of fragments from a given candidates. More... | |
Public Member Functions inherited from protocols::frag_picker::FragmentSelectingRule | |
| FragmentSelectingRule (Size frags_per_pos) | |
| Constructor sets the desired number of fragments. More... | |
| Size | frags_per_pos () |
| Says how many fragments will be selected for each position in a query sequence. More... | |
| virtual | ~FragmentSelectingRule () |
Protected Member Functions | |
| Size | round (Real x) |
| Size | next_from_pool (ScoredCandidatesVector1 const &, Size recently_taken, std::set< Size > &in_use) |
| void | push_the_limits (utility::vector1< Size > &q_limits, Size target_total) |
| void | push_the_limits_to_the_winner (utility::vector1< Size > &q_limits, Size target_total) |
| void | push_the_limits (utility::vector1< Size > &, Size, utility::vector1< Real > &) |
| virtual void | select_fragments_200 (ScoredCandidatesVector1 const &in, ScoredCandidatesVector1 &out) |
| virtual void | select_fragments_25_200 (ScoredCandidatesVector1 const &in, ScoredCandidatesVector1 &out) |
Protected Attributes | |
| QuotaCollectorOP | collector_ |
| Size | q_pos_ |
Private Attributes | |
| utility::vector1< std::string > | tags_ |
| std::map< std::string, Size > | tag_map_ |
selects a given number of fragments using a quota scheme
Definition at line 42 of file QuotaSelector.hh.
| protocols::frag_picker::quota::QuotaSelector::QuotaSelector | ( | Size | frags_per_pos, |
| Size | pos_in_query, | ||
| QuotaCollectorOP | collector | ||
| ) |
Constructor sets the desired number of fragments.
Definition at line 41 of file QuotaSelector.cc.
References collector_, q_pos_, and protocols::frag_picker::quota::trQuotaSelector().
|
inlinevirtual |
Definition at line 48 of file QuotaSelector.hh.
|
protected |
Definition at line 50 of file QuotaSelector.cc.
References protocols::frag_picker::quota::trQuotaSelector().
Referenced by select_fragments_200(), and select_fragments_25_200().
|
protected |
Definition at line 85 of file QuotaSelector.cc.
References protocols::frag_picker::quota::mysorter_biggest_first, and protocols::frag_picker::quota::trQuotaSelector().
Referenced by select_fragments_200(), and select_fragments_25_200().
|
protected |
Definition at line 123 of file QuotaSelector.cc.
References protocols::frag_picker::quota::mysorter_missing_fraction_biggest_first, and protocols::frag_picker::quota::trQuotaSelector().
|
protected |
Definition at line 108 of file QuotaSelector.cc.
References protocols::frag_picker::quota::mysorter_biggest_first, and protocols::frag_picker::quota::trQuotaSelector().
Definition at line 62 of file QuotaSelector.hh.
|
inlinevirtual |
Selects desired number of fragments from a given candidates.
Implements protocols::frag_picker::FragmentSelectingRule.
Definition at line 52 of file QuotaSelector.hh.
References select_fragments_25_200().
Referenced by protocols::frag_picker::FragmentPicker::quota_protocol().
|
protectedvirtual |
Definition at line 153 of file QuotaSelector.cc.
References collector_, protocols::frag_picker::FragmentSelectingRule::frags_per_pos(), next_from_pool(), push_the_limits(), q_pos_, and protocols::frag_picker::quota::trQuotaSelector().
|
protectedvirtual |
Definition at line 197 of file QuotaSelector.cc.
References collector_, protocols::frag_picker::FragmentSelectingRule::frags_per_pos(), protocols::frag_picker::QuotaDebug::log(), protocols::frag_picker::FragmentPicker::log_200_, protocols::frag_picker::FragmentPicker::log_25_, next_from_pool(), push_the_limits(), q_pos_, protocols::frag_picker::QuotaDebug::tag_map_, and protocols::frag_picker::quota::trQuotaSelector().
Referenced by select_fragments().
|
protected |
Definition at line 60 of file QuotaSelector.hh.
Referenced by QuotaSelector(), select_fragments_200(), and select_fragments_25_200().
|
protected |
Definition at line 61 of file QuotaSelector.hh.
Referenced by QuotaSelector(), select_fragments_200(), and select_fragments_25_200().
|
private |
Definition at line 85 of file QuotaSelector.hh.
|
private |
Definition at line 84 of file QuotaSelector.hh.
1.8.4