Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
protocols::scoring::methods::pcs2::PcsDataLanthanide Class Reference

#include <PcsDataLanthanide.hh>

Public Member Functions

void update_my_A_matrix_for_cstyle (utility::vector1< utility::vector1< core::Real > > &A_all)
 
 PcsDataLanthanide (std::string const &, core::Real const weight, utility::vector1< PcsInputLine > &pcs_i_l, core::Size start, core::Size end, core::Real individual_scale)
 
 ~PcsDataLanthanide ()
 
 PcsDataLanthanide (PcsDataLanthanide const &other)
 
PcsDataLanthanideoperator= (PcsDataLanthanide const &other)
 
void set_A_index (core::Size j, core::Size n_pcs_spin_)
 Set a value of the A_index_ vector. More...
 
void update_my_A_matrix_for_svd (utility::vector1< utility::vector1< core::Real > > &A_all)
 update the A matrix given A_all matrix. Dimensions of A_all >= dimension of A. A_all is common to all the lanthanide sharing the same center More...
 
core::Real get_weight () const
 give me the weight associated with this PCS data More...
 
core::Real get_individual_scale () const
 
core::Real get_normalization_factor () const
 give me the normalization factor associated with this PCS data More...
 
core::Real get_normalization_factor_inversed () const
 give me the normalization factor associated with this PCS data More...
 
std::string get_filename () const
 give me the filename associated with this PCS data More...
 
core::Size get_n_pcs () const
 give me the number of PCS data More...
 
utility::vector1< core::Size >
const & 
get_A_index () const
 Give me the A_index_ vector. More...
 
const utility::vector1
< utility::vector1< core::Real > > & 
get_cstyle_A () const
 return the b vector in FArray1D format More...
 
const utility::vector1
< core::Real > & 
get_cstyle_b () const
 
const utility::vector1
< core::Real > & 
get_cstyle_b_individual_scale () const
 
core::Real calculate_tensor_and_cost_with_svd (PcsTensor &pcs_t)
 return the score and populate the PcsTensor with svd. More...
 
core::Real calculate_cost_only_with_svd ()
 
void calculate_tensor_only_with_svd (PcsTensor &pcs_t)
 populate the PcsTensor with svd. More...
 
void retrieve_tensor_from_svd (PcsTensor &pcs_t)
 

Private Member Functions

 PcsDataLanthanide ()
 

Private Attributes

std::string const filename_
 
core::Real const weight_
 
core::Size n_pcs_
 
utility::vector1< core::SizeA_index_
 
utility::vector1
< utility::vector1< core::Real > > 
cstyle_A_
 
utility::vector1< core::Realcstyle_b_
 
utility::vector1< core::Realcstyle_b_individual_scale_
 
basic::svd::SVD_Solver svd_s_
 
core::Real normalization_1_
 
core::Real normalization_2_
 
core::Real normalization_3_
 
core::Real normalization_factor_
 
core::Real normalization_factor_inversed_
 
core::Real individual_scale_
 

Friends

std::ostream & operator<< (std::ostream &out, const PcsDataLanthanide &me)
 me More...
 

Constructor & Destructor Documentation

protocols::scoring::methods::pcs2::PcsDataLanthanide::PcsDataLanthanide ( std::string const &  filename,
core::Real const  weight,
utility::vector1< PcsInputLine > &  pcs_i_l,
core::Size  start,
core::Size  end,
core::Real  individual_scale 
)
protocols::scoring::methods::pcs2::PcsDataLanthanide::PcsDataLanthanide ( )
private
protocols::scoring::methods::pcs2::PcsDataLanthanide::~PcsDataLanthanide ( )
default
protocols::scoring::methods::pcs2::PcsDataLanthanide::PcsDataLanthanide ( PcsDataLanthanide const &  other)

Member Function Documentation

core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::calculate_cost_only_with_svd ( )
core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::calculate_tensor_and_cost_with_svd ( PcsTensor pcs_t)
void protocols::scoring::methods::pcs2::PcsDataLanthanide::calculate_tensor_only_with_svd ( PcsTensor pcs_t)
const utility::vector1< core::Size > & protocols::scoring::methods::pcs2::PcsDataLanthanide::get_A_index ( ) const
const utility::vector1< utility::vector1< core::Real > > & protocols::scoring::methods::pcs2::PcsDataLanthanide::get_cstyle_A ( ) const

return the b vector in FArray1D format

References cstyle_A_.

const utility::vector1< core::Real > & protocols::scoring::methods::pcs2::PcsDataLanthanide::get_cstyle_b ( ) const
const utility::vector1< core::Real > & protocols::scoring::methods::pcs2::PcsDataLanthanide::get_cstyle_b_individual_scale ( ) const
std::string protocols::scoring::methods::pcs2::PcsDataLanthanide::get_filename ( ) const

give me the filename associated with this PCS data

References filename_.

Referenced by protocols::scoring::methods::pcs2::PcsEnergy::dump_PCS_info(), and protocols::scoring::methods::pcs2::operator<<().

core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_individual_scale ( ) const
core::Size protocols::scoring::methods::pcs2::PcsDataLanthanide::get_n_pcs ( ) const
core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_normalization_factor ( ) const
core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_normalization_factor_inversed ( ) const
core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_weight ( ) const
PcsDataLanthanide & protocols::scoring::methods::pcs2::PcsDataLanthanide::operator= ( PcsDataLanthanide const &  other)
void protocols::scoring::methods::pcs2::PcsDataLanthanide::retrieve_tensor_from_svd ( PcsTensor pcs_t)
void protocols::scoring::methods::pcs2::PcsDataLanthanide::set_A_index ( core::Size  j,
core::Size  n_pcs_spin_ 
)

Set a value of the A_index_ vector.

References A_index_.

Referenced by protocols::scoring::methods::pcs2::PcsDataCenter::PcsDataCenter().

void protocols::scoring::methods::pcs2::PcsDataLanthanide::update_my_A_matrix_for_cstyle ( utility::vector1< utility::vector1< core::Real > > &  A_all)

References A_index_, and cstyle_A_.

void protocols::scoring::methods::pcs2::PcsDataLanthanide::update_my_A_matrix_for_svd ( utility::vector1< utility::vector1< core::Real > > &  A_all)

update the A matrix given A_all matrix. Dimensions of A_all >= dimension of A. A_all is common to all the lanthanide sharing the same center

References A_index_, cstyle_A_, and svd_s_.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PcsDataLanthanide me 
)
friend

me

Member Data Documentation

utility::vector1<core::Size> protocols::scoring::methods::pcs2::PcsDataLanthanide::A_index_
private
utility::vector1< utility::vector1<core::Real> > protocols::scoring::methods::pcs2::PcsDataLanthanide::cstyle_A_
private
utility::vector1<core::Real> protocols::scoring::methods::pcs2::PcsDataLanthanide::cstyle_b_
private
utility::vector1<core::Real> protocols::scoring::methods::pcs2::PcsDataLanthanide::cstyle_b_individual_scale_
private
std::string const protocols::scoring::methods::pcs2::PcsDataLanthanide::filename_
private

Referenced by get_filename(), and PcsDataLanthanide().

core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::individual_scale_
private
core::Size protocols::scoring::methods::pcs2::PcsDataLanthanide::n_pcs_
private
core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::normalization_1_
private

Referenced by operator=(), and PcsDataLanthanide().

core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::normalization_2_
private

Referenced by operator=(), and PcsDataLanthanide().

core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::normalization_3_
private

Referenced by operator=(), and PcsDataLanthanide().

core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::normalization_factor_
private
core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::normalization_factor_inversed_
private
basic::svd::SVD_Solver protocols::scoring::methods::pcs2::PcsDataLanthanide::svd_s_
private
core::Real const protocols::scoring::methods::pcs2::PcsDataLanthanide::weight_
private

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