Rosetta 3.5
|
A base class for collecting fragments. More...
#include <QuotaCollector.hh>
Public Member Functions | |
QuotaCollector (Size query_size, Size frag_size) | |
bool | add (std::pair< FragmentCandidateOP, scores::FragmentScoreMapOP >) |
Insert a fragment candidate to the container. More... | |
void | clear () |
removes all candidates from the container More... | |
Size | count_candidates (Size) const |
Check how many candidates have been already collected for a given position. More... | |
Size | count_candidates () const |
Check how many candidates have been already collected for all positions. More... | |
Size | query_length () const |
Check the size of query sequence that this object knows. This is mainly to be ale to check if it is the same as in the other parts of fragment picking machinery. More... | |
ScoredCandidatesVector1 & | get_candidates (Size position_in_query) |
void | print_report (std::ostream &output, scores::FragmentScoreManagerOP scoring) const |
Describes what has been collected. More... | |
void | insert (Size pos, CandidatesCollectorOP collector) |
Inserts candidates from another QuotaCollector for a give position in the query Candidates may or may not get inserted depending on the candidate. More... | |
void | list_pools (std::ostream &where) const |
list all registered pools with their capacity More... | |
Size | count_pools (Size position) const |
prints the number of quota pools for a given positio in query More... | |
QuotaPoolCOP | get_pool (Size position, Size pool_id) const |
QuotaPoolOP | get_pool (Size position, Size pool_id) |
void | add_pool (Size position, QuotaPoolOP the_pool) |
void | renormalize_quota_pools () |
void | attach_secondary_structure_pools (Real, core::fragment::SecondaryStructureOP, std::string, Size, utility::vector1< Size >, utility::vector1< Real >, Size) |
![]() | |
virtual bool | add (ScoredCandidate)=0 |
Insert a fragment candidate to the container. More... | |
Private Attributes | |
Size | frag_size_ |
ScoredCandidatesVector1 | frags_for_pos_ |
utility::vector1 < utility::vector1 < QuotaPoolOP > > | storage_ |
A base class for collecting fragments.
|
inline |
References frag_size_, and storage_.
bool protocols::frag_picker::quota::QuotaCollector::add | ( | std::pair< FragmentCandidateOP, scores::FragmentScoreMapOP > | candidate) |
Insert a fragment candidate to the container.
References storage_.
|
inline |
References storage_.
void protocols::frag_picker::quota::QuotaCollector::attach_secondary_structure_pools | ( | Real | prediction_fraction, |
core::fragment::SecondaryStructureOP | prediction, | ||
std::string | name, | ||
Size | n_candidates, | ||
utility::vector1< Size > | components, | ||
utility::vector1< Real > | weights, | ||
Size | n_scores | ||
) |
References frag_size_, storage_, and protocols::frag_picker::quota::trQuotaCollector().
|
virtual |
removes all candidates from the container
Implements protocols::frag_picker::CandidatesCollector.
References storage_.
Check how many candidates have been already collected for a given position.
Implements protocols::frag_picker::CandidatesCollector.
References count_candidates(), and storage_.
|
virtual |
Check how many candidates have been already collected for all positions.
Implements protocols::frag_picker::CandidatesCollector.
References storage_.
Referenced by count_candidates().
prints the number of quota pools for a given positio in query
References storage_.
Referenced by protocols::frag_picker::QuotaDebug::setup_summary().
|
virtual |
Implements protocols::frag_picker::CandidatesCollector.
References frags_for_pos_, storage_, and protocols::frag_picker::quota::trQuotaCollector().
|
inline |
References storage_.
Referenced by protocols::frag_picker::QuotaDebug::setup_summary().
|
inline |
References storage_.
|
inlinevirtual |
Inserts candidates from another QuotaCollector for a give position in the query Candidates may or may not get inserted depending on the candidate.
Implements protocols::frag_picker::CandidatesCollector.
References core::pack::dunbrack::c, and storage_.
void protocols::frag_picker::quota::QuotaCollector::list_pools | ( | std::ostream & | where) | const |
list all registered pools with their capacity
References storage_.
|
virtual |
Describes what has been collected.
Implements protocols::frag_picker::CandidatesCollector.
References storage_.
|
inlinevirtual |
Check the size of query sequence that this object knows. This is mainly to be ale to check if it is the same as in the other parts of fragment picking machinery.
Implements protocols::frag_picker::CandidatesCollector.
References storage_.
Referenced by protocols::frag_picker::QuotaDebug::setup_summary().
void protocols::frag_picker::quota::QuotaCollector::renormalize_quota_pools | ( | ) |
References storage_.
|
private |
Referenced by attach_secondary_structure_pools(), and QuotaCollector().
|
private |
Referenced by get_candidates().
|
private |