![]() |
Rosetta Protocols
2014.35
|
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... | |
![]() | |
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
protocols::frag_picker::quota::QuotaSelector::QuotaSelector | ( | Size | frags_per_pos, |
Size | pos_in_query, | ||
QuotaCollectorOP | collector | ||
) |
Constructor sets the desired number of fragments.
References collector_, q_pos_, and protocols::frag_picker::quota::trQuotaSelector.
|
inlinevirtual |
|
protected |
References protocols::frag_picker::quota::trQuotaSelector.
Referenced by select_fragments_200(), and select_fragments_25_200().
|
protected |
|
protected |
|
protected |
|
inlinevirtual |
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 |