![]() |
Rosetta
2021.16
|
#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) | |
| PcsDataLanthanide & | operator= (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::Size > | A_index_ |
| utility::vector1 < utility::vector1< core::Real > > | cstyle_A_ |
| utility::vector1< core::Real > | cstyle_b_ |
| utility::vector1< core::Real > | cstyle_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... | |
| 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 | ||
| ) |
References A_index_, cstyle_A_, cstyle_b_, cstyle_b_individual_scale_, protocols::scoring::methods::pcs2::do_I_skip(), filename_, protocols::scoring::methods::pcs2::PcsInputLine::get_PCS_experimental(), individual_scale_, core::chemical::element::N, n_pcs_, normalization_1_, normalization_2_, normalization_3_, normalization_factor_, normalization_factor_inversed_, protocols::scoring::methods::pcs2::reduced_size(), core::simple_metrics::metrics::sum, svd_s_, and protocols::scoring::methods::pcs2::TR_PcsDataLanthanide().
|
private |
|
default |
| protocols::scoring::methods::pcs2::PcsDataLanthanide::PcsDataLanthanide | ( | PcsDataLanthanide const & | other | ) |
| core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::calculate_cost_only_with_svd | ( | ) |
References normalization_factor_, protocols::hybridization::score, svd_s_, and weight_.
| core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::calculate_tensor_and_cost_with_svd | ( | PcsTensor & | pcs_t | ) |
return the score and populate the PcsTensor with svd.
References cstyle_A_, normalization_factor_, protocols::scoring::methods::pcs2::PcsTensor::reset_tensor(), protocols::hybridization::score, svd_s_, and weight_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizerSvd::func().
| void protocols::scoring::methods::pcs2::PcsDataLanthanide::calculate_tensor_only_with_svd | ( | PcsTensor & | pcs_t | ) |
populate the PcsTensor with svd.
References protocols::scoring::methods::pcs2::PcsTensor::reset_tensor(), and svd_s_.
Referenced by protocols::scoring::methods::pcs2::PcsEnergy::CA_search_scores_and_tensors().
| const utility::vector1< core::Size > & protocols::scoring::methods::pcs2::PcsDataLanthanide::get_A_index | ( | ) | const |
Give me the A_index_ vector.
References A_index_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizer::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerSvd::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerFix::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizer::func(), and protocols::scoring::methods::pcs2::TensorsOptimizerFix::func().
| 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 |
References cstyle_b_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizer::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerSvd::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerFix::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizer::func(), and protocols::scoring::methods::pcs2::TensorsOptimizerFix::func().
| 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 |
give me the number of PCS data
References n_pcs_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizer::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerSvd::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerFix::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizer::func(), protocols::scoring::methods::pcs2::TensorsOptimizerFix::func(), and protocols::scoring::methods::pcs2::operator<<().
| core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_normalization_factor | ( | ) | const |
give me the normalization factor associated with this PCS data
References normalization_factor_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizerFix::dfunc_exact(), and protocols::scoring::methods::pcs2::TensorsOptimizerFix::func().
| core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_normalization_factor_inversed | ( | ) | const |
give me the normalization factor associated with this PCS data
References normalization_factor_inversed_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizer::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerSvd::dfunc_exact(), and protocols::scoring::methods::pcs2::TensorsOptimizer::func().
| core::Real protocols::scoring::methods::pcs2::PcsDataLanthanide::get_weight | ( | ) | const |
give me the weight associated with this PCS data
References weight_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizer::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerSvd::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizerFix::dfunc_exact(), protocols::scoring::methods::pcs2::TensorsOptimizer::func(), and protocols::scoring::methods::pcs2::TensorsOptimizerFix::func().
| PcsDataLanthanide & protocols::scoring::methods::pcs2::PcsDataLanthanide::operator= | ( | PcsDataLanthanide const & | other | ) |
| void protocols::scoring::methods::pcs2::PcsDataLanthanide::retrieve_tensor_from_svd | ( | PcsTensor & | pcs_t | ) |
References protocols::scoring::methods::pcs2::PcsTensor::reset_tensor(), and svd_s_.
Referenced by protocols::scoring::methods::pcs2::TensorsOptimizerSvd::dfunc_exact().
| 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 | ) |
| void protocols::scoring::methods::pcs2::PcsDataLanthanide::update_my_A_matrix_for_svd | ( | utility::vector1< utility::vector1< core::Real > > & | A_all | ) |
|
friend |
me
|
private |
|
private |
|
private |
Referenced by get_cstyle_b(), protocols::scoring::methods::pcs2::operator<<(), operator=(), and PcsDataLanthanide().
|
private |
Referenced by get_cstyle_b_individual_scale(), operator=(), and PcsDataLanthanide().
|
private |
Referenced by get_filename(), and PcsDataLanthanide().
|
private |
Referenced by get_individual_scale(), operator=(), and PcsDataLanthanide().
|
private |
Referenced by get_n_pcs(), operator=(), and PcsDataLanthanide().
|
private |
Referenced by operator=(), and PcsDataLanthanide().
|
private |
Referenced by operator=(), and PcsDataLanthanide().
|
private |
Referenced by operator=(), and PcsDataLanthanide().
|
private |
|
private |
Referenced by get_normalization_factor_inversed(), operator=(), and PcsDataLanthanide().
|
private |
|
private |
Referenced by calculate_cost_only_with_svd(), calculate_tensor_and_cost_with_svd(), and get_weight().
1.8.7