![]() |
Rosetta Core
2014.16.56682
|
#include <MinimizerMap.hh>
Public Types | |
| typedef std::list< DOF_NodeOP > | DOF_Nodes |
| typedef DOF_Nodes::iterator | iterator |
| typedef DOF_Nodes::const_iterator | const_iterator |
| typedef id::AtomID | AtomID |
| typedef id::DOF_ID | DOF_ID |
| typedef id::DOF_Type | DOF_Type |
| typedef kinematics::MinimizerMapBase | parent |
| typedef scoring::DerivVectorPair | DerivVectorPair |
Public Types inherited from core::kinematics::MinimizerMapBase | |
| typedef id::AtomID | AtomID |
| typedef id::DOF_ID | DOF_ID |
| typedef id::DOF_Type | DOF_Type |
Public Member Functions | |
| MinimizerMap () | |
| ~MinimizerMap () | |
| void | setup (pose::Pose &pose, kinematics::MoveMap const &move_map) |
| virtual void | add_torsion (DOF_ID const &new_torsion, DOF_ID const &parent) |
| Allow the AtomTree to communicate to this class that a particular torsion (or angle or distance – a particular DOF) belongs in the minimization task to inform this class the parent DOF for that torsion. More... | |
| virtual void | add_atom (AtomID const &atom_id, DOF_ID const &dof_id) |
| Allow the AtomTree to inform this class that a particular atom belongs in the derivative calculation for a certain DOF. That certain DOF must have already been included in the minimization process through a prior invocation of the add_torsion method. More... | |
| const_iterator | begin () const |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| DOF_Nodes const & | dof_nodes () const |
| DOF_Nodes & | dof_nodes () |
| void | link_torsion_vectors () |
| this will only work if DOF_nodes are sorted! More... | |
| void | zero_torsion_vectors () |
| void | reset (pose::Pose const &pose) |
| clears old data+dimensions dof_node_pointer using size data from the pose More... | |
| void | copy_dofs_from_pose (pose::Pose const &pose, Multivec &dofs) const |
| void | copy_dofs_to_pose (pose::Pose &pose, Multivec const &dofs) const |
| int | nangles () const |
| void | reset_jump_rb_deltas (pose::Pose &pose, Multivec &dofs) const |
| Real | torsion_scale_factor (DOF_Node const &tor) const |
| virtual kinematics::DomainMap const & | domain_map () const |
| DOF_NodeOP | dof_node_from_id (DOF_ID const &id) |
| get a dof_node by its dof_id More... | |
| utility::vector1 < DerivVectorPair > & | atom_derivatives (Size resid) |
Public Member Functions inherited from core::kinematics::MinimizerMapBase | |
| MinimizerMapBase () | |
| default ctor; noop More... | |
| virtual | ~MinimizerMapBase () |
| dstor More... | |
Private Member Functions | |
| void | clear_dof_nodes () |
| deletes and clears dof_nodes_ More... | |
| void | assign_rosetta_torsions (pose::Pose const &pose) |
Private Attributes | |
| DOF_Nodes | dof_nodes_ |
| list of all the moving degrees of freedom More... | |
| id::DOF_ID_Map< DOF_NodeOP > | dof_node_pointer_ |
| pointer from DOF_ID to the corresponding DOF_NodeOP More... | |
| kinematics::DomainMap | domain_map_ |
| utility::vector1 < utility::vector1 < DerivVectorPair > > | atom_derivatives_ |
| typedef DOF_Nodes::const_iterator core::optimization::MinimizerMap::const_iterator |
| typedef DOF_Nodes::iterator core::optimization::MinimizerMap::iterator |
|
inline |
| core::optimization::MinimizerMap::~MinimizerMap | ( | ) |
References clear_dof_nodes().
|
virtual |
Allow the AtomTree to inform this class that a particular atom belongs in the derivative calculation for a certain DOF. That certain DOF must have already been included in the minimization process through a prior invocation of the add_torsion method.
Implements core::kinematics::MinimizerMapBase.
References dof_node_pointer_, utility_exit, and core::id::DOF_ID::valid().
|
virtual |
Allow the AtomTree to communicate to this class that a particular torsion (or angle or distance – a particular DOF) belongs in the minimization task to inform this class the parent DOF for that torsion.
Implements core::kinematics::MinimizerMapBase.
References dof_node_pointer_, dof_nodes_, utility_exit, and core::id::DOF_ID::valid().
|
private |
|
inline |
References atom_derivatives_.
Referenced by core::optimization::atom_tree_get_atompairE_deriv().
|
inline |
|
inline |
References dof_nodes_.
|
private |
deletes and clears dof_nodes_
References dof_node_pointer_, and dof_nodes_.
Referenced by reset(), and ~MinimizerMap().
| void core::optimization::MinimizerMap::copy_dofs_from_pose | ( | pose::Pose const & | pose, |
| Multivec & | dofs | ||
| ) | const |
References core::pose::Pose::dof(), core::optimization::DOF_Node::dof_id(), dof_nodes_, and torsion_scale_factor().
Referenced by core::util::getMLweight(), and core::optimization::AtomTreeMinimizer::run().
| void core::optimization::MinimizerMap::copy_dofs_to_pose | ( | pose::Pose & | pose, |
| Multivec const & | dofs | ||
| ) | const |
References core::optimization::DOF_Node::dof_id(), dof_nodes_, core::pose::Pose::set_dof(), and torsion_scale_factor().
Referenced by core::optimization::atom_tree_dfunc(), core::optimization::AtomTreeMultifunc::dump(), core::optimization::AtomTreeMultifunc::operator()(), and core::optimization::SingleResidueMultifunc::operator()().
|
inline |
get a dof_node by its dof_id
References dof_node_pointer_, and utility_exit.
|
inline |
References dof_nodes_.
|
inline |
References dof_nodes_.
|
inlinevirtual |
Implements core::kinematics::MinimizerMapBase.
References domain_map_.
Referenced by core::optimization::atom_tree_get_atompairE_deriv(), and core::optimization::AtomTreeMinimizer::run().
|
inline |
|
inline |
References dof_nodes_.
| void core::optimization::MinimizerMap::link_torsion_vectors | ( | ) |
this will only work if DOF_nodes are sorted!
References core::optimization::DOF_Node::depth(), dof_nodes_, and core::optimization::DOF_Node::link_vectors().
Referenced by core::optimization::atom_tree_dfunc().
|
inline |
| void core::optimization::MinimizerMap::reset | ( | pose::Pose const & | pose | ) |
clears old data+dimensions dof_node_pointer using size data from the pose
References atom_derivatives_, clear_dof_nodes(), dof_node_pointer_, core::pose::initialize_dof_id_map(), core::conformation::Residue::natoms(), core::pose::Pose::residue(), and core::pose::Pose::total_residue().
Referenced by setup().
| void core::optimization::MinimizerMap::reset_jump_rb_deltas | ( | pose::Pose & | pose, |
| Multivec & | dofs | ||
| ) | const |
| void core::optimization::MinimizerMap::setup | ( | pose::Pose & | pose, |
| kinematics::MoveMap const & | move_map | ||
| ) |
References assign_rosetta_torsions(), core::pose::Pose::atom_tree(), core::conformation::Conformation::atom_tree(), core::id::BOGUS_DOF_ID, core::pose::Pose::conformation(), core::optimization::DOF_Node_sorter(), dof_nodes_, domain_map_, core::pose::initialize_atomid_map(), reset(), core::kinematics::AtomTree::root(), core::pose::setup_dof_mask_from_move_map(), core::pose::Pose::total_residue(), and core::kinematics::AtomTree::update_domain_map().
Referenced by core::util::getMLweight(), and core::optimization::AtomTreeMinimizer::run().
References core::id::D, numeric::conversions::degrees(), basic::options::option, core::id::PHI, rad2deg, core::id::RB1, core::id::RB2, core::id::RB3, core::id::RB4, core::id::RB5, core::id::RB6, basic::options::OptionKeys::optimization::scale_d, basic::options::OptionKeys::optimization::scale_rb, basic::options::OptionKeys::optimization::scale_rbangle, basic::options::OptionKeys::optimization::scale_theta, core::id::THETA, type, and core::optimization::DOF_Node::type().
Referenced by core::optimization::atom_tree_dfunc(), copy_dofs_from_pose(), and copy_dofs_to_pose().
| void core::optimization::MinimizerMap::zero_torsion_vectors | ( | ) |
References atom_derivatives_, and dof_nodes_.
Referenced by core::optimization::atom_tree_dfunc().
|
private |
Referenced by atom_derivatives(), reset(), and zero_torsion_vectors().
|
private |
pointer from DOF_ID to the corresponding DOF_NodeOP
Referenced by add_atom(), add_torsion(), clear_dof_nodes(), dof_node_from_id(), and reset().
|
private |
list of all the moving degrees of freedom
Referenced by add_torsion(), assign_rosetta_torsions(), begin(), clear_dof_nodes(), copy_dofs_from_pose(), copy_dofs_to_pose(), dof_nodes(), end(), link_torsion_vectors(), nangles(), reset_jump_rb_deltas(), setup(), and zero_torsion_vectors().
|
private |
Referenced by domain_map(), and setup().
1.8.7