Rosetta 3.4
|
#include <ReferenceEnergy.hh>
Public Types | |
typedef ContextIndependentOneBodyEnergy | parent |
Public Member Functions | |
ReferenceEnergy () | |
ReferenceEnergy (utility::vector1< Real > const &aa_weights_in) | |
virtual | ~ReferenceEnergy () |
virtual EnergyMethodOP | clone () const |
virtual void | residue_energy (conformation::Residue const &rsd, pose::Pose const &pose, EnergyMap &emap) const |
This is a terrible terrible terrible hack that will do for now. | |
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 Real | eval_dof_derivative (id::DOF_ID const &dof_id, id::TorsionID const &tor_id, pose::Pose const &pose, ScoreFunction const &sfxn, EnergyMap const &weights) const |
virtual void | indicate_required_context_graphs (utility::vector1< bool > &) const |
DunbrackEnergy is context independent; indicates that no context graphs are required. |
Reimplemented from core::scoring::methods::ContextIndependentOneBodyEnergy.
core::scoring::methods::ReferenceEnergy::ReferenceEnergy | ( | ) |
Referenced by clone().
core::scoring::methods::ReferenceEnergy::ReferenceEnergy | ( | utility::vector1< Real > const & | aa_weights_in | ) |
core::scoring::methods::ReferenceEnergy::~ReferenceEnergy | ( | ) | [virtual] |
EnergyMethodOP core::scoring::methods::ReferenceEnergy::clone | ( | ) | const [virtual] |
Implements core::scoring::methods::EnergyMethod.
References ReferenceEnergy().
Real core::scoring::methods::ReferenceEnergy::eval_dof_derivative | ( | id::DOF_ID const & | dof_id, |
id::TorsionID const & | tor_id, | ||
pose::Pose const & | pose, | ||
ScoreFunction const & | sfxn, | ||
EnergyMap const & | weights | ||
) | const [virtual] |
void core::scoring::methods::ReferenceEnergy::indicate_required_context_graphs | ( | utility::vector1< bool > & | ) | const [virtual] |
DunbrackEnergy is context independent; indicates that no context graphs are required.
ReferenceEnergy is context independent; indicates that no context graphs are required.
Implements core::scoring::methods::EnergyMethod.
bool core::scoring::methods::ReferenceEnergy::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::ReferenceEnergy::residue_energy | ( | conformation::Residue const & | rsd, |
pose::Pose const & | pose, | ||
EnergyMap & | emap | ||
) | const [virtual] |
This is a terrible terrible terrible hack that will do for now.
Implements core::scoring::methods::ContextIndependentOneBodyEnergy.
References core::chemical::ResidueType::aa(), core::conformation::Residue::aa(), core::chemical::aa_ala, core::chemical::aa_arg, core::chemical::aa_asn, core::chemical::aa_asp, core::chemical::aa_cys, core::chemical::aa_gln, core::chemical::aa_glu, core::chemical::aa_gly, core::chemical::aa_his, core::chemical::aa_ile, core::chemical::aa_leu, core::chemical::aa_lys, core::chemical::aa_met, core::chemical::aa_phe, core::chemical::aa_pro, core::chemical::aa_ser, core::chemical::aa_thr, core::chemical::aa_trp, core::chemical::aa_tyr, core::chemical::aa_val, core::conformation::Residue::has_variant_type(), core::chemical::num_canonical_aas, core::scoring::ref, and core::conformation::Residue::type().