Rosetta 3.5
|
SequenceIdentity score counts identical residues. More...
#include <SequenceIdentity.hh>
Public Member Functions | |
SequenceIdentity (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string &fastaQuerySequence) | |
bool | score (FragmentCandidateOP f, FragmentScoreMapOP empty_map) |
bool | describe_score (FragmentCandidateOP f, FragmentScoreMapOP empty_map, std::ostream &out) |
prints a detailed explanation how a fragment score has been computed More... | |
![]() | |
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... | |
Static Public Attributes | |
static const int | REWARD = 0 |
will be added if the two residues are identical More... | |
static const int | PENALTY = 1 |
will be added if the two residues are NOT identical More... | |
Private Attributes | |
Real | minScoreAllowed_ |
std::string & | query_ |
Additional Inherited Members | |
![]() | |
Size | id_ |
Size | priority_ |
std::string | name_ |
Real | lowest_acceptable_value_ |
bool | use_lowest_ |
SequenceIdentity score counts identical residues.
|
inline |
bool protocols::frag_picker::scores::SequenceIdentity::describe_score | ( | FragmentCandidateOP | f, |
FragmentScoreMapOP | empty_map, | ||
std::ostream & | out | ||
) |
prints a detailed explanation how a fragment score has been computed
References protocols::frag_picker::scores::FragmentScoringMethod::id_, protocols::frag_picker::scores::FragmentScoringMethod::lowest_acceptable_value_, PENALTY, query_, REWARD, and protocols::frag_picker::scores::FragmentScoringMethod::use_lowest_.
|
virtual |
Implements protocols::frag_picker::scores::FragmentScoringMethod.
References protocols::frag_picker::scores::FragmentScoringMethod::id_, protocols::frag_picker::scores::FragmentScoringMethod::lowest_acceptable_value_, PENALTY, query_, REWARD, and protocols::frag_picker::scores::FragmentScoringMethod::use_lowest_.
|
private |
|
static |
will be added if the two residues are NOT identical
Referenced by describe_score(), and score().
|
private |
Referenced by describe_score(), and score().
|
static |
will be added if the two residues are identical
Referenced by describe_score(), and score().