![]() |
Rosetta Protocols
2014.35
|
scores a fragment by torsion bin similarity More...
#include <TorsionBinSimilarity.hh>
Public Member Functions | |
TorsionBinSimilarity (Size priority, Real lowest_acceptable_value, bool use_lowest, utility::vector1< utility::vector1< core::Real > > query_bin_probs, Size sequence_length, Size longest_vall_chunk) | |
void | do_caching (VallChunkOP) |
void | clean_up () |
virtual bool | cached_score (FragmentCandidateOP, FragmentScoreMapOP) |
Computes the score. More... | |
![]() | |
CachingScoringMethod (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string name) | |
virtual bool | score (FragmentCandidateOP fragment, FragmentScoreMapOP scores) |
![]() | |
FragmentScoringMethod (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string name) | |
std::string & | get_score_name () |
Returns a name of this scoring method. More... | |
Size | get_id () |
Returns an integer index assigned to this scoring method by a scoring manager. More... | |
void | set_id (Size id) |
Sets a new integer index for this scoring method. More... | |
Size | get_priority () |
Returns a priority of this scoring method. More... | |
Real | get_min_allowed_score () |
Returns the lowest acceptable score value for this scoring method. More... | |
bool | get_use_lowest () |
Returns the boolean choice on using the above lowest acceptable score value. More... | |
void | set_min_allowed_score (Real lowest_acceptable_value) |
Sets a new value of the lowest acceptable score. More... | |
Protected Attributes | |
Matrix | scores_ |
![]() | |
Size | id_ |
Size | priority_ |
std::string | name_ |
Real | lowest_acceptable_value_ |
bool | use_lowest_ |
Private Member Functions | |
char | torsion2big_bin_ (core::Real const phi, core::Real const psi, core::Real const omega) const |
Size | bin_index_ (char const bin_name) const |
Private Attributes | |
std::string | name_ |
Size | query_len_ |
utility::vector1 < utility::vector1< core::Real > > | query_bin_probs_ |
std::string | cached_scores_id_ |
scores a fragment by torsion bin similarity
|
inline |
References query_len_, and scores_.
|
private |
References utility_exit_with_message.
Referenced by do_caching().
|
virtual |
Computes the score.
Reimplemented from protocols::frag_picker::scores::CachingScoringMethod.
References cached_scores_id_, do_caching(), protocols::frag_picker::scores::FragmentScoringMethod::id_, protocols::frag_picker::scores::FragmentScoringMethod::lowest_acceptable_value_, scores_, total_score, and protocols::frag_picker::scores::FragmentScoringMethod::use_lowest_.
|
inlinevirtual |
|
virtual |
Implements protocols::frag_picker::scores::CachingScoringMethod.
References protocols::frag_picker::VallChunk::at(), bin_index_(), cached_scores_id_, protocols::frag_picker::VallChunk::chunk_key(), protocols::frag_picker::VallChunk::get_pdb_id(), omega, query_bin_probs_, query_len_, scores_, protocols::frag_picker::VallChunk::size(), torsion2big_bin_(), and protocols::frag_picker::scores::tr.
Referenced by cached_score().
|
private |
Referenced by do_caching().
|
private |
Referenced by cached_score(), and do_caching().
|
private |
|
private |
Referenced by do_caching().
|
private |
Referenced by do_caching(), and TorsionBinSimilarity().
|
protected |
Referenced by cached_score(), do_caching(), and TorsionBinSimilarity().