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

scores a fragment by its DME to the given reference structure More...

#include <FragmentDME.hh>

Public Member Functions

 FragmentDME (Size, Real, bool, core::pose::PoseOP)
 creates a DME-based scoring function. More...
 
 FragmentDME (Size, Real, bool, utility::vector1< utility::vector1< Real > >)
 creates a DME-based scoring function. More...
 
 ~FragmentDME ()
 
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 Member Functions

void fill_CA_coords (core::pose::Pose const &, FArray2_double &, Size)
 

Private Attributes

std::string cached_scores_id_
 
Size n_atoms_
 
pose::PoseOP reference_pose_
 
FArray2D_double reference_coordinates_
 
FArray2D_double chunk_coordinates_
 
FArray2D_double fragment_coordinates_
 
FArray2D_double frag_pos_coordinates_
 
FArray1D_double weights_
 

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 DME to the given reference structure

Constructor & Destructor Documentation

protocols::frag_picker::scores::FragmentDME::FragmentDME ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
core::pose::PoseOP  reference_pose 
)

creates a DME-based scoring function.

Detailed: fragments will be compared to a given pose, which should have the same number of residues a the query sequence

References fill_CA_coords(), n_atoms_, reference_coordinates_, reference_pose_, core::pose::Pose::total_residue(), and weights_.

protocols::frag_picker::scores::FragmentDME::FragmentDME ( Size  priority,
Real  lowest_acceptable_value,
bool  use_lowest,
utility::vector1< utility::vector1< Real > >  xyz 
)

creates a DME-based scoring function.

Detailed: fragments will be compared to given coordinates, which should have the same number of residues a the query sequence

References n_atoms_, reference_coordinates_, protocols::frag_picker::scores::trDMEScore, weights_, and protocols::kinmatch::xyz().

protocols::frag_picker::scores::FragmentDME::~FragmentDME ( )

Member Function Documentation

bool protocols::frag_picker::scores::FragmentDME::cached_score ( FragmentCandidateOP  fragment,
FragmentScoreMapOP  scores 
)
virtual
void protocols::frag_picker::scores::FragmentDME::clean_up ( )
virtual
void protocols::frag_picker::scores::FragmentDME::do_caching ( VallChunkOP  current_chunk)
virtual
void protocols::frag_picker::scores::FragmentDME::fill_CA_coords ( core::pose::Pose const &  pose,
FArray2_double &  coords,
Size  n_atoms 
)
private
bool protocols::frag_picker::scores::FragmentDME::score ( FragmentCandidateOP  f,
FragmentScoreMapOP  empty_map 
)
virtual

Member Data Documentation

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

Referenced by cached_score().

FArray2D_double protocols::frag_picker::scores::FragmentDME::chunk_coordinates_
private

Referenced by cached_score(), and do_caching().

FArray2D_double protocols::frag_picker::scores::FragmentDME::frag_pos_coordinates_
private
FArray2D_double protocols::frag_picker::scores::FragmentDME::fragment_coordinates_
private
Size protocols::frag_picker::scores::FragmentDME::n_atoms_
private

Referenced by FragmentDME().

FArray2D_double protocols::frag_picker::scores::FragmentDME::reference_coordinates_
private

Referenced by cached_score(), FragmentDME(), and score().

pose::PoseOP protocols::frag_picker::scores::FragmentDME::reference_pose_
private

Referenced by FragmentDME().

FArray1D_double protocols::frag_picker::scores::FragmentDME::weights_
private

Referenced by FragmentDME().


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