![]() |
Rosetta
2021.16
|
selects a given number of fragments using a quota scheme More...
#include <QuotaSelector.hh>

Public Member Functions | |
| QuotaSelector (core::Size, core::Size, QuotaCollectorOP) | |
| Constructor sets the desired number of fragments. More... | |
| ~QuotaSelector () override | |
| void | select_fragments (ScoredCandidatesVector1 const &in, ScoredCandidatesVector1 &out) override |
| Selects desired number of fragments from a given candidates. More... | |
Public Member Functions inherited from protocols::frag_picker::FragmentSelectingRule | |
| FragmentSelectingRule (core::Size frags_per_pos) | |
| Constructor sets the desired number of fragments. More... | |
| core::Size | frags_per_pos () |
| Says how many fragments will be selected for each position in a query sequence. More... | |
| ~FragmentSelectingRule () override=default | |
Protected Member Functions | |
| core::Size | round (core::Real x) |
| core::Size | next_from_pool (ScoredCandidatesVector1 const &, core::Size recently_taken, std::set< core::Size > &in_use) |
| void | push_the_limits (utility::vector1< core::Size > &q_limits, core::Size target_total) |
| void | push_the_limits_to_the_winner (utility::vector1< core::Size > &q_limits, core::Size target_total) |
| void | push_the_limits (utility::vector1< core::Size > &, core::Size, utility::vector1< core::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_ |
| core::Size | q_pos_ |
Private Attributes | |
| utility::vector1< std::string > | tags_ |
| std::map< std::string, core::Size > | tag_map_ |
selects a given number of fragments using a quota scheme
| protocols::frag_picker::quota::QuotaSelector::QuotaSelector | ( | core::Size | frags_per_pos, |
| core::Size | pos_in_query, | ||
| QuotaCollectorOP | collector | ||
| ) |
Constructor sets the desired number of fragments.
References collector_, q_pos_, and protocols::frag_picker::quota::trQuotaSelector().
|
inlineoverride |
|
protected |
References protocols::frag_picker::quota::trQuotaSelector().
Referenced by select_fragments_200(), and select_fragments_25_200().
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineoverridevirtual |
Selects desired number of fragments from a given candidates.
Implements protocols::frag_picker::FragmentSelectingRule.
References select_fragments_25_200().
Referenced by protocols::frag_picker::FragmentPicker::quota_protocol().
|
protectedvirtual |
|
protectedvirtual |
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_, protocols::analysis::total, and protocols::frag_picker::quota::trQuotaSelector().
Referenced by select_fragments().
|
protected |
Referenced by QuotaSelector(), select_fragments_200(), and select_fragments_25_200().
|
protected |
Referenced by QuotaSelector(), select_fragments_200(), and select_fragments_25_200().
|
private |
|
private |
1.8.7