Rosetta 3.4
|
#include <YHHPlanarityEnergy.hh>
Public Types | |
typedef ContextIndependentOneBodyEnergy | parent |
Public Member Functions | |
YHHPlanarityEnergy () | |
ctor | |
virtual EnergyMethodOP | clone () const |
clone | |
virtual void | residue_energy (conformation::Residue const &rsd, pose::Pose const &pose, EnergyMap &emap) const |
Evaluate the one-body energies for a particular residue, in the context of a given Pose, and increment those energies in the input Emap (do not overwrite them). | |
bool | minimize_in_whole_structure_context (pose::Pose const &) const |
Should this EnergyMethod have score and derivative evaluation evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that's serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return "true" will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction's traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return "true" cannot be included in RTMin. | |
virtual bool | defines_dof_derivatives (pose::Pose const &p) const |
The P_AA_pp energy function describes derivatives wrt phi and psi. | |
virtual Real | eval_residue_dof_derivative (conformation::Residue const &rsd, ResSingleMinimizationData const &min_data, id::DOF_ID const &dof_id, id::TorsionID const &torsion_id, pose::Pose const &pose, ScoreFunction const &sfxn, EnergyMap const &weights) const |
Evaluate the P_AA_pp DOF derivative for a particular residue. | |
virtual void | indicate_required_context_graphs (utility::vector1< bool > &) const |
P_AA_pp_Energy is context independent; indicates that no context graphs are required. | |
virtual core::Size | version () const |
Return the version of the energy method. |
Reimplemented from core::scoring::methods::ContextIndependentOneBodyEnergy.
core::scoring::methods::YHHPlanarityEnergy::YHHPlanarityEnergy | ( | ) |
ctor
Referenced by clone().
EnergyMethodOP core::scoring::methods::YHHPlanarityEnergy::clone | ( | ) | const [virtual] |
bool core::scoring::methods::YHHPlanarityEnergy::defines_dof_derivatives | ( | pose::Pose const & | p | ) | const [virtual] |
The P_AA_pp energy function describes derivatives wrt phi and psi.
Reimplemented from core::scoring::methods::OneBodyEnergy.
Real core::scoring::methods::YHHPlanarityEnergy::eval_residue_dof_derivative | ( | conformation::Residue const & | rsd, |
ResSingleMinimizationData const & | min_data, | ||
id::DOF_ID const & | dof_id, | ||
id::TorsionID const & | torsion_id, | ||
pose::Pose const & | pose, | ||
ScoreFunction const & | sfxn, | ||
EnergyMap const & | weights | ||
) | const [virtual] |
Evaluate the P_AA_pp DOF derivative for a particular residue.
Reimplemented from core::scoring::methods::OneBodyEnergy.
References core::conformation::Residue::chi(), core::id::CHI, core::conformation::Residue::has_variant_type(), core::id::TorsionID::torsion(), core::id::TorsionID::type(), core::id::TorsionID::valid(), and core::scoring::yhh_planarity.
void core::scoring::methods::YHHPlanarityEnergy::indicate_required_context_graphs | ( | utility::vector1< bool > & | ) | const [virtual] |
P_AA_pp_Energy is context independent; indicates that no context graphs are required.
Implements core::scoring::methods::EnergyMethod.
bool core::scoring::methods::YHHPlanarityEnergy::minimize_in_whole_structure_context | ( | pose::Pose const & | ) | const [inline, virtual] |
Should this EnergyMethod have score and derivative evaluation evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that's serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return "true" will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction's traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return "true" cannot be included in RTMin.
Reimplemented from core::scoring::methods::EnergyMethod.
void core::scoring::methods::YHHPlanarityEnergy::residue_energy | ( | conformation::Residue const & | rsd, |
pose::Pose const & | pose, | ||
EnergyMap & | emap | ||
) | const [virtual] |
Evaluate the one-body energies for a particular residue, in the context of a given Pose, and increment those energies in the input Emap (do not overwrite them).
Implements core::scoring::methods::ContextIndependentOneBodyEnergy.
References core::conformation::Residue::chi(), core::conformation::Residue::has_variant_type(), and core::scoring::yhh_planarity.
core::Size core::scoring::methods::YHHPlanarityEnergy::version | ( | ) | const [virtual] |
Return the version of the energy method.
Implements core::scoring::methods::EnergyMethod.