Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
protocols::frag_picker::scores::HydrophobicityProfileSimilarity Class Reference

scores a fragment by its hydrophobicity similarity More...

#include <HydrophobicityProfileSimilarity.hh>

Public Member Functions

 HydrophobicityProfileSimilarity (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string &fastaQuerySequence, sequence::SequenceProfileOP query_profile)
 creates a hydrophobicity-based scoring function. More...
 
 ~HydrophobicityProfileSimilarity ()
 
void do_caching (VallChunkOP)
 
void clean_up ()
 
bool score (FragmentCandidateOP, FragmentScoreMapOP)
 
bool cached_score (FragmentCandidateOP, FragmentScoreMapOP)
 
- Public Member Functions inherited from protocols::frag_picker::scores::CachingScoringMethod
 CachingScoringMethod (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string name)
 
- Public Member Functions inherited from protocols::frag_picker::scores::FragmentScoringMethod
 FragmentScoringMethod (Size priority, Real lowest_acceptable_value, bool use_lowest, std::string name)
 
std::stringget_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...
 

Private Attributes

std::string cached_scores_id_
 
std::stringquery_
 
sequence::SequenceProfileOP query_profile_
 

Static Private Attributes

static std::map< char, boolis_hydrophobic_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::frag_picker::scores::FragmentScoringMethod
Size id_
 
Size priority_
 
std::string name_
 
Real lowest_acceptable_value_
 
bool use_lowest_
 

Detailed Description

scores a fragment by its hydrophobicity similarity

Constructor & Destructor Documentation

protocols::frag_picker::scores::HydrophobicityProfileSimilarity::HydrophobicityProfileSimilarity ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
std::string fastaQuerySequence,
sequence::SequenceProfileOP  query_profile 
)
inline

creates a hydrophobicity-based scoring function.

References is_hydrophobic_, query_profile_, and utility_exit_with_message.

protocols::frag_picker::scores::HydrophobicityProfileSimilarity::~HydrophobicityProfileSimilarity ( )
inline

Member Function Documentation

bool protocols::frag_picker::scores::HydrophobicityProfileSimilarity::cached_score ( FragmentCandidateOP  fragment,
FragmentScoreMapOP  scores 
)
virtual
void protocols::frag_picker::scores::HydrophobicityProfileSimilarity::clean_up ( )
inlinevirtual
void protocols::frag_picker::scores::HydrophobicityProfileSimilarity::do_caching ( VallChunkOP  current_chunk)
virtual
bool protocols::frag_picker::scores::HydrophobicityProfileSimilarity::score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
)
virtual

Member Data Documentation

std::string protocols::frag_picker::scores::HydrophobicityProfileSimilarity::cached_scores_id_
private
std::map< char, bool > protocols::frag_picker::scores::HydrophobicityProfileSimilarity::is_hydrophobic_
staticprivate
std::string& protocols::frag_picker::scores::HydrophobicityProfileSimilarity::query_
private

Referenced by score().

sequence::SequenceProfileOP protocols::frag_picker::scores::HydrophobicityProfileSimilarity::query_profile_
private

The documentation for this class was generated from the following files: