![]() |
Rosetta
2021.16
|
class for fitting a length of secondary structure keeping the same dihedrals More...
#include <SecStructMinimizeMultiFunc.hh>

Public Member Functions | |
| ~SecStructMinimizeMultiFunc () override | |
| Destructor. More... | |
| SecStructMinimizeMultiFunc (core::pose::Pose &pose, core::scoring::ScoreFunction &scorefxn_in, core::optimization::MinimizerMap &min_map, std::string const alpha_beta_pattern, std::string const dihedral_pattern) | |
| Constructor. More... | |
| core::Real | operator() (core::optimization::Multivec const &vars) const override |
| Calculate function value (rms squared) More... | |
| void | dfunc (core::optimization::Multivec const &vars, core::optimization::Multivec &dE_dvars) const override |
| Calculate function value derivatives. More... | |
| core::optimization::Multivec | dofs_to_vars (core::optimization::Multivec const &dofs) const |
| give short set of torsions from full dofs More... | |
| core::optimization::Multivec | vars_to_dofs (core::optimization::Multivec const &vars) const |
| give full dofs from short set of torsions More... | |
| void | dump (core::optimization::Multivec const &vars, core::optimization::Multivec const &vars2) const override |
| Error state reached – derivative does not match gradient. More... | |
Public Member Functions inherited from core::optimization::Multifunc | |
| ~Multifunc () override=default | |
| Destructor. More... | |
| virtual bool | abort_min (Multivec const &) const |
| Christophe added the following to allow premature end of minimization If you want to abort the minimizer under specific circonstances overload this function and return true if you want to stop, false if you want to continue. FOR THE MOMENT, ONLY IN DFPMIN! More... | |
Private Member Functions | |
| void | get_dofs_for_pose0 () |
| void | get_dofs_map () |
| core::Real | dofs_for_pose0 (core::Size const i_dof) const |
| core::optimization::Multivec | dEddofs_to_dEdvars (core::optimization::Multivec const &dEdtors) const |
| void | setup_minimization_graph (core::pose::Pose &pose, core::scoring::ScoreFunction const &sfxn, core::optimization::MinimizerMap const &min_map) const |
| bool | uniq_refers_to_beta (char const uniq) const |
Private Attributes | |
| std::map< core::Size, utility::vector1< core::Size > > | map_BB_to_DOF_ |
| std::map< core::Size, core::Size > | map_DOF_to_BB_ |
| core::pose::Pose & | pose_ |
| core::scoring::ScoreFunction & | scorefxn_ |
| core::optimization::MinimizerMap & | min_map_ |
| core::pose::Pose & | pose0_ |
| core::optimization::Multivec | dofs_for_pose0_ |
| std::string | alpha_beta_pattern_ |
| std::string | dihedral_pattern_ |
| The pattern at which dihedrals are applied. More... | |
| std::map< core::Size, utility::vector1 < core::id::TorsionID > > | vars_index_to_torsion_id_ |
| core::Size | nvar_ |
Additional Inherited Members | |
Public Types inherited from core::optimization::Multifunc | |
| typedef utility::VirtualBase | parent |
Protected Member Functions inherited from core::optimization::Multifunc | |
| Multifunc () | |
| Default constructor. More... | |
| Multifunc (Multifunc const &) | |
| Copy constructor. More... | |
| Multifunc & | operator= (Multifunc const &) |
| Copy assignment. More... | |
class for fitting a length of secondary structure keeping the same dihedrals
|
overridedefault |
Destructor.
| protocols::ncbb::SecStructMinimizeMultiFunc::SecStructMinimizeMultiFunc | ( | core::pose::Pose & | pose, |
| core::scoring::ScoreFunction & | scorefxn_in, | ||
| core::optimization::MinimizerMap & | min_map, | ||
| std::string const | alpha_beta_pattern, | ||
| std::string const | dihedral_pattern | ||
| ) |
|
private |
References map_BB_to_DOF_, and nvar_.
Referenced by dfunc().
|
overridevirtual |
Calculate function value derivatives.
Implements core::optimization::Multifunc.
References core::optimization::atom_tree_dfunc(), dEddofs_to_dEdvars(), min_map_, pose_, scorefxn_, protocols::TR(), and vars_to_dofs().
|
inlineprivate |
References dofs_for_pose0_.
| Multivec protocols::ncbb::SecStructMinimizeMultiFunc::dofs_to_vars | ( | core::optimization::Multivec const & | dofs | ) | const |
give short set of torsions from full dofs
References map_BB_to_DOF_, and nvar_.
|
overridevirtual |
Error state reached – derivative does not match gradient.
Useful debugging code that can be re-enabled by changing the boolean variables at the top of this function.
Reimplemented from core::optimization::Multifunc.
|
private |
References core::optimization::MinimizerMap::copy_dofs_from_pose(), core::optimization::MinimizerMap::dof_nodes(), dofs_for_pose0_, min_map_, and pose0_.
Referenced by SecStructMinimizeMultiFunc().
|
private |
References core::optimization::MinimizerMap::dof_nodes(), map_BB_to_DOF_, map_DOF_to_BB_, min_map_, nvar_, protocols::TR(), and vars_index_to_torsion_id_.
Referenced by SecStructMinimizeMultiFunc().
|
overridevirtual |
Calculate function value (rms squared)
Implements core::optimization::Multifunc.
References core::optimization::MinimizerMap::copy_dofs_to_pose(), min_map_, pose_, scorefxn_, protocols::TR(), and vars_to_dofs().
|
private |
References core::pose::Pose::energies(), core::scoring::Energies::long_range_container(), core::scoring::ScoreFunction::long_range_energies_begin(), core::scoring::ScoreFunction::long_range_energies_end(), protocols::hybridization::r1, protocols::hybridization::r2, core::pose::Pose::residue(), core::pose::Pose::residue_data(), core::scoring::Energies::set_minimization_graph(), core::scoring::ScoreFunction::setup_for_lr2benmeth_minimization_for_respair(), core::scoring::ScoreFunction::setup_for_minimizing_for_node(), core::scoring::ScoreFunction::setup_for_minimizing_sr2b_enmeths_for_minedge(), and core::pose::Pose::size().
Referenced by SecStructMinimizeMultiFunc().
|
private |
Referenced by SecStructMinimizeMultiFunc().
| Multivec protocols::ncbb::SecStructMinimizeMultiFunc::vars_to_dofs | ( | core::optimization::Multivec const & | vars | ) | const |
give full dofs from short set of torsions
References dofs_for_pose0_, and map_BB_to_DOF_.
Referenced by dfunc(), and operator()().
|
private |
Referenced by SecStructMinimizeMultiFunc().
|
private |
The pattern at which dihedrals are applied.
Referenced by SecStructMinimizeMultiFunc().
|
private |
Referenced by dofs_for_pose0(), get_dofs_for_pose0(), and vars_to_dofs().
|
private |
Referenced by dEddofs_to_dEdvars(), dofs_to_vars(), get_dofs_map(), and vars_to_dofs().
|
private |
Referenced by get_dofs_map().
|
private |
Referenced by dfunc(), get_dofs_for_pose0(), get_dofs_map(), operator()(), and SecStructMinimizeMultiFunc().
|
private |
Referenced by dEddofs_to_dEdvars(), dofs_to_vars(), get_dofs_map(), and SecStructMinimizeMultiFunc().
|
private |
Referenced by get_dofs_for_pose0().
|
private |
Referenced by dfunc(), operator()(), and SecStructMinimizeMultiFunc().
|
private |
Referenced by dfunc(), operator()(), and SecStructMinimizeMultiFunc().
|
private |
Referenced by get_dofs_map(), and SecStructMinimizeMultiFunc().
1.8.7