holds all small scores (score components) for a given fragment
More...
#include <FragmentScoreMap.hh>
holds all small scores (score components) for a given fragment
- Detailed: each scoring method puts its own result into the map. The total score
- is a dot product of the vector from this map and a vector of weights
protocols::frag_picker::scores::FragmentScoreMap::FragmentScoreMap |
( |
Size |
n_componens | ) |
|
|
inline |
creates a new map for a given number of components
- Detailed: usually the new map should be created by FragmentScoreManager::create_empty_map()
Real protocols::frag_picker::scores::FragmentScoreMap::at |
( |
Size |
score_index | ) |
const |
|
inline |
creates a new deep copy of this map
Real protocols::frag_picker::scores::FragmentScoreMap::get_most_recent_total_score |
( |
| ) |
|
|
inline |
returns the total score that has been evaluated recently
- Detailed: the method does not compute anything. You must check if the map has been
- modified after the last total score calculation. If so, you must recompute the total again
Real protocols::frag_picker::scores::FragmentScoreMap::get_quota_score |
( |
| ) |
|
|
inline |
utility::vector1<Real>& protocols::frag_picker::scores::FragmentScoreMap::get_score_components |
( |
| ) |
const |
|
inline |
returns the vector of score components
void protocols::frag_picker::scores::FragmentScoreMap::set_quota_score |
( |
Real |
quota_score | ) |
|
|
inline |
void protocols::frag_picker::scores::FragmentScoreMap::set_score_component |
( |
Real |
score_value, |
|
|
Size |
component_id |
|
) |
| |
|
inline |
sets a new score value for a given component
Size protocols::frag_picker::scores::FragmentScoreMap::size |
( |
| ) |
const |
|
inline |
bool protocols::frag_picker::scores::FragmentScoreMap::was_modified |
( |
| ) |
|
|
inline |
If the map has been modified, the total score it holds is not up-to-date and must be recalculated.
Real protocols::frag_picker::scores::FragmentScoreMap::recent_quota_score_ |
|
private |
Real protocols::frag_picker::scores::FragmentScoreMap::recent_total_ |
|
private |
bool protocols::frag_picker::scores::FragmentScoreMap::was_modified_ |
|
private |
The documentation for this class was generated from the following file: