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

scores a fragment by torsion bin similarity More...

#include <LAMBEGO_Similarity.hh>

Inheritance diagram for protocols::frag_picker::scores::LAMBEGO_Similarity:
Inheritance graph
[legend]

Public Member Functions

 LAMBEGO_Similarity (core::Size priority, core::Real lowest_acceptable_value, bool use_lowest, utility::vector1< utility::vector1< core::Real > > query_bin_probs, core::Size sequence_length, core::Size longest_vall_chunk)
 
void do_caching (VallChunkOP) override
 
void clean_up () override
 
bool cached_score (FragmentCandidateOP, FragmentScoreMapOP) override
 Computes the score. More...
 
- Public Member Functions inherited from protocols::frag_picker::scores::CachingScoringMethod
 CachingScoringMethod (core::Size priority, core::Real lowest_acceptable_value, bool use_lowest, std::string name)
 
bool score (FragmentCandidateOP, FragmentScoreMapOP) override
 
- Public Member Functions inherited from protocols::frag_picker::scores::FragmentScoringMethod
 FragmentScoringMethod (core::Size priority, core::Real lowest_acceptable_value, bool use_lowest, std::string name)
 
std::string & get_score_name ()
 Returns a name of this scoring method. More...
 
core::Size get_id ()
 Returns an integer index assigned to this scoring method by a scoring manager. More...
 
void set_id (core::Size id)
 Sets a new integer index for this scoring method. More...
 
core::Size get_priority ()
 Returns a priority of this scoring method. More...
 
core::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 (core::Real lowest_acceptable_value)
 Sets a new value of the lowest acceptable score. More...
 

Protected Attributes

Matrix scores_
 
- Protected Attributes inherited from protocols::frag_picker::scores::FragmentScoringMethod
core::Size id_
 
core::Size priority_
 
std::string name_
 
core::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, char const ss) const
 
core::Size bin_index_ (char const bin_name) const
 

Private Attributes

std::string name_
 
core::Size query_len_
 
utility::vector1
< utility::vector1< core::Real > > 
query_bin_probs_
 
std::string cached_scores_id_
 

Detailed Description

scores a fragment by torsion bin similarity

Constructor & Destructor Documentation

protocols::frag_picker::scores::LAMBEGO_Similarity::LAMBEGO_Similarity ( core::Size  priority,
core::Real  lowest_acceptable_value,
bool  use_lowest,
utility::vector1< utility::vector1< core::Real > >  query_bin_probs,
core::Size  sequence_length,
core::Size  longest_vall_chunk 
)
inline

References query_len_, and scores_.

Member Function Documentation

core::Size protocols::frag_picker::scores::LAMBEGO_Similarity::bin_index_ ( char const  bin_name) const
private

Referenced by do_caching().

bool protocols::frag_picker::scores::LAMBEGO_Similarity::cached_score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
)
overridevirtual
void protocols::frag_picker::scores::LAMBEGO_Similarity::clean_up ( )
inlineoverridevirtual
void protocols::frag_picker::scores::LAMBEGO_Similarity::do_caching ( VallChunkOP  chunk)
overridevirtual
char protocols::frag_picker::scores::LAMBEGO_Similarity::torsion2big_bin_ ( core::Real const  phi,
core::Real const  psi,
core::Real const  omega,
char const  ss 
) const
private

Referenced by do_caching().

Member Data Documentation

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

Referenced by cached_score(), and do_caching().

std::string protocols::frag_picker::scores::LAMBEGO_Similarity::name_
private
utility::vector1< utility::vector1< core::Real > > protocols::frag_picker::scores::LAMBEGO_Similarity::query_bin_probs_
private

Referenced by do_caching().

core::Size protocols::frag_picker::scores::LAMBEGO_Similarity::query_len_
private

Referenced by do_caching(), and LAMBEGO_Similarity().

Matrix protocols::frag_picker::scores::LAMBEGO_Similarity::scores_
protected

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