Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::frag_picker::scores::CSScore Class Reference

scores a fragment by the root mean square deviation of Phi and Psi angles. More...

#include <CSScore.hh>

Inheritance diagram for protocols::frag_picker::scores::CSScore:
Inheritance graph
[legend]
Collaboration diagram for protocols::frag_picker::scores::CSScore:
Collaboration graph
[legend]

Public Member Functions

 CSScore (Size, Real, bool, CSTalosIO &)
 creates a Phi-Psi-based scoring function. More...
 
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::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...
 

Private Member Functions

void read_talos_phi_psi (std::string const &)
 

Private Attributes

utility::io::ozstream outfile_
 Print debugging informations about a score for a given fragment. More...
 
utility::vector1
< utility::vector1< std::pair
< Size, Real > > > 
target_shifts_
 
utility::vector1
< utility::vector1< std::pair
< Real, Real > > > 
scores_
 
std::string cached_scores_id_
 
utility::vector1< boolexisting_data_
 

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 the root mean square deviation of Phi and Psi angles.

Constructor & Destructor Documentation

protocols::frag_picker::scores::CSScore::CSScore ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
CSTalosIO reader 
)

creates a Phi-Psi-based scoring function.

Detailed: Phi-Psi angles from a fragment will be compared to relevant angles in a given pose, which should have the same number of residues a the query sequence

References protocols::frag_picker::CS2ndShift::shifts(), target_shifts_, and protocols::frag_picker::scores::trCSScore().

Member Function Documentation

bool protocols::frag_picker::scores::CSScore::cached_score ( FragmentCandidateOP  fragment,
FragmentScoreMapOP  scores 
)
virtual
void protocols::frag_picker::scores::CSScore::clean_up ( )
virtual
void protocols::frag_picker::scores::CSScore::do_caching ( VallChunkOP  current_chunk)
virtual
void protocols::frag_picker::scores::CSScore::read_talos_phi_psi ( std::string const &  )
private
bool protocols::frag_picker::scores::CSScore::score ( FragmentCandidateOP  fragment,
FragmentScoreMapOP  scores 
)
virtual

Member Data Documentation

std::string protocols::frag_picker::scores::CSScore::cached_scores_id_
private

Referenced by cached_score(), and do_caching().

utility::vector1<bool> protocols::frag_picker::scores::CSScore::existing_data_
private
utility::io::ozstream protocols::frag_picker::scores::CSScore::outfile_
private

Print debugging informations about a score for a given fragment.

utility::vector1< utility::vector1< std::pair< Real, Real> > > protocols::frag_picker::scores::CSScore::scores_
private

Referenced by cached_score(), and do_caching().

utility::vector1< utility::vector1< std::pair< Size, Real > > > protocols::frag_picker::scores::CSScore::target_shifts_
private

Referenced by CSScore(), and do_caching().


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