|
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) |
Public Member Functions inherited from protocols::frag_picker::CandidatesCollector | |
| 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.
Definition at line 41 of file QuotaCollector.hh.
|
inline |
Definition at line 44 of file QuotaCollector.hh.
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.
Definition at line 37 of file QuotaCollector.cc.
References storage_.
|
inline |
Definition at line 99 of file QuotaCollector.hh.
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 | ||
| ) |
Definition at line 135 of file QuotaCollector.cc.
References frag_size_, storage_, and protocols::frag_picker::quota::trQuotaCollector().
|
virtual |
removes all candidates from the container
Implements protocols::frag_picker::CandidatesCollector.
Definition at line 62 of file QuotaCollector.cc.
References storage_.
Check how many candidates have been already collected for a given position.
Implements protocols::frag_picker::CandidatesCollector.
Definition at line 69 of file QuotaCollector.cc.
References count_candidates(), and storage_.
|
virtual |
Check how many candidates have been already collected for all positions.
Implements protocols::frag_picker::CandidatesCollector.
Definition at line 78 of file QuotaCollector.cc.
References storage_.
Referenced by count_candidates().
prints the number of quota pools for a given positio in query
Definition at line 87 of file QuotaCollector.hh.
References storage_.
Referenced by protocols::frag_picker::QuotaDebug::setup_summary().
|
virtual |
Implements protocols::frag_picker::CandidatesCollector.
Definition at line 107 of file QuotaCollector.cc.
References frags_for_pos_, storage_, and protocols::frag_picker::quota::trQuotaCollector().
|
inline |
Definition at line 91 of file QuotaCollector.hh.
References storage_.
Referenced by protocols::frag_picker::QuotaDebug::setup_summary().
|
inline |
Definition at line 95 of file QuotaCollector.hh.
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.
Definition at line 73 of file QuotaCollector.hh.
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
Definition at line 50 of file QuotaCollector.cc.
References storage_.
|
virtual |
Describes what has been collected.
Implements protocols::frag_picker::CandidatesCollector.
Definition at line 88 of file QuotaCollector.cc.
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.
Definition at line 61 of file QuotaCollector.hh.
References storage_.
Referenced by protocols::frag_picker::QuotaDebug::setup_summary().
| void protocols::frag_picker::quota::QuotaCollector::renormalize_quota_pools | ( | ) |
Definition at line 123 of file QuotaCollector.cc.
References storage_.
|
private |
Definition at line 109 of file QuotaCollector.hh.
Referenced by attach_secondary_structure_pools(), and QuotaCollector().
|
private |
Definition at line 110 of file QuotaCollector.hh.
Referenced by get_candidates().
|
private |
Definition at line 111 of file QuotaCollector.hh.
Referenced by add(), add_pool(), attach_secondary_structure_pools(), clear(), count_candidates(), count_pools(), get_candidates(), get_pool(), insert(), list_pools(), print_report(), query_length(), QuotaCollector(), and renormalize_quota_pools().
1.8.4