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

scores a fragment by its predicted psi similarity More...

#include <Psi.hh>

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

Public Member Functions

 Psi (core::Size priority, core::Real lowest_acceptable_value, bool use_lowest, std::string &fastaQuerySequence, utility::vector1< core::Real > &query_psi_prediction, utility::vector1< core::Real > &query_psi_prediction_conf)
 creates a predicted psi-based scoring function. More...
 
 ~Psi () override
 
void do_caching (VallChunkOP) override
 
void clean_up () override
 
bool score (FragmentCandidateOP, FragmentScoreMapOP) override
 
bool cached_score (FragmentCandidateOP, FragmentScoreMapOP) override
 
- 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)
 
- 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...
 

Private Attributes

std::string cached_scores_id_
 
std::string & query_
 
core::Size query_len_
 
utility::vector1< core::Realquery_psi_prediction_
 
utility::vector1< core::Realquery_psi_prediction_conf_
 

Additional Inherited Members

- 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_
 

Detailed Description

scores a fragment by its predicted psi similarity

Constructor & Destructor Documentation

protocols::frag_picker::scores::Psi::Psi ( core::Size  priority,
core::Real  lowest_acceptable_value,
bool  use_lowest,
std::string &  fastaQuerySequence,
utility::vector1< core::Real > &  query_psi_prediction,
utility::vector1< core::Real > &  query_psi_prediction_conf 
)
inline

creates a predicted psi-based scoring function.

References query_, query_len_, query_psi_prediction_, and query_psi_prediction_conf_.

protocols::frag_picker::scores::Psi::~Psi ( )
inlineoverride

Member Function Documentation

bool protocols::frag_picker::scores::Psi::cached_score ( FragmentCandidateOP  fragment,
FragmentScoreMapOP  scores 
)
overridevirtual
void protocols::frag_picker::scores::Psi::clean_up ( )
inlineoverridevirtual
void protocols::frag_picker::scores::Psi::do_caching ( VallChunkOP  current_chunk)
overridevirtual
bool protocols::frag_picker::scores::Psi::score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
)
overridevirtual

Member Data Documentation

std::string protocols::frag_picker::scores::Psi::cached_scores_id_
private
std::string& protocols::frag_picker::scores::Psi::query_
private

Referenced by Psi().

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

Referenced by Psi(), and score().

utility::vector1<core::Real> protocols::frag_picker::scores::Psi::query_psi_prediction_
private

Referenced by Psi(), and score().

utility::vector1<core::Real> protocols::frag_picker::scores::Psi::query_psi_prediction_conf_
private

Referenced by Psi().


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