![]() |
Rosetta Protocols
2014.16.56682
|
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.
|
inline |
References frag_size_, and storage_.
| bool protocols::frag_picker::quota::QuotaCollector::add | ( | std::pair< FragmentCandidateOP, scores::FragmentScoreMapOP > | candidate | ) |
|
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 | ||
| ) |
|
virtual |
removes all candidates from the container
Implements protocols::frag_picker::CandidatesCollector.
Check how many candidates have been already collected for a given position.
Implements protocols::frag_picker::CandidatesCollector.
References count_candidates(), j, and storage_.
|
virtual |
Check how many candidates have been already collected for all positions.
Implements protocols::frag_picker::CandidatesCollector.
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_, j, l, 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 c, j, l, storage_, and utility_exit_with_message.
| void protocols::frag_picker::quota::QuotaCollector::list_pools | ( | std::ostream & | where | ) | const |
|
virtual |
Describes what has been collected.
Implements protocols::frag_picker::CandidatesCollector.
References protocols::abinitio::abscript::I, j, and 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 | ( | ) |
|
private |
Referenced by attach_secondary_structure_pools(), and QuotaCollector().
|
private |
Referenced by get_candidates().
|
private |
1.8.7