|
Rosetta 3.5
|
Info on the scorefunction settings. More...
#include <ScoreFunctionInfo.hh>


Public Member Functions | |
| ScoreFunctionInfo () | |
| default constructor – fill this in More... | |
| ScoreFunctionInfo (ScoreFunctionInfo const &src) | |
| virtual | ~ScoreFunctionInfo () |
| ScoreFunctionInfo (ScoreFunction const &scorefxn) | |
| copy constructor – fill this in More... | |
| void | initialize_from (ScoreFunction const &scorefxn) |
| initializes three peices of data that describe the score function, the atomic interaction distance, the context neighbor distance, and the context graphs required by the scoring function to be properly evaluated More... | |
| EnergyMap const & | scores_present () const |
| Distance | max_atomic_interaction_distance () const |
| Distance | max_context_neighbor_cutoff () const |
| bool | requires_context_graph (ContextGraphType cgt) const |
Private Member Functions | |
| ScoreFunctionInfo const & | operator= (ScoreFunctionInfo const &rhs) |
Friends | |
| bool | operator== (ScoreFunctionInfo const &a, ScoreFunctionInfo const &b) |
| comparison – fill this in More... | |
| bool | operator!= (ScoreFunctionInfo const &a, ScoreFunctionInfo const &b) |
| comparison – fill this in More... | |
Info on the scorefunction settings.
This object is handed to the pose's Energies object and stored along with the cached energies. It is used in the next scoring evaluation to decide whether it's safe to reuse cached energies.
It must describe the kinds of context that the Energies object provides to the scoring function. If any scoring function requires a tenA neighbor graph, then that information is stored here. If a scoring function requires a different kind of neighborness graph (think centroid mode), then this class will indicate the kind of storage.
Finally, it must describe the maximum atom-to-atom distance cutoff that characterizes the energy function.
So all we need is a constructor and an operator==
Definition at line 62 of file ScoreFunctionInfo.hh.
| core::scoring::ScoreFunctionInfo::ScoreFunctionInfo | ( | ) |
default constructor – fill this in
Definition at line 32 of file ScoreFunctionInfo.cc.
| core::scoring::ScoreFunctionInfo::ScoreFunctionInfo | ( | ScoreFunctionInfo const & | src) |
Make sure to make a copy of the EMOpts, instead of just copying the pointer; we don't want SFIs to share pointers to the same objects or the object could change underneath the SFI.
Definition at line 42 of file ScoreFunctionInfo.cc.
|
virtual |
Definition at line 51 of file ScoreFunctionInfo.cc.
| core::scoring::ScoreFunctionInfo::ScoreFunctionInfo | ( | ScoreFunction const & | scorefxn) |
copy constructor – fill this in
Definition at line 53 of file ScoreFunctionInfo.cc.
References initialize_from().
| void core::scoring::ScoreFunctionInfo::initialize_from | ( | ScoreFunction const & | scorefxn) |
initializes three peices of data that describe the score function, the atomic interaction distance, the context neighbor distance, and the context graphs required by the scoring function to be properly evaluated
now also including the EnergyMethodOptions object, which holds eg the etable name and (currently) the reference energy aa-weights
Definition at line 68 of file ScoreFunctionInfo.cc.
References context_graphs_required_, core::scoring::ContextGraphFactory::create_context_graph(), core::scoring::ScoreFunction::energy_method_options(), energy_method_options_, core::scoring::ScoreFunction::has_zero_weight(), core::scoring::ScoreFunction::indicate_required_context_graphs(), core::scoring::ScoreFunction::max_atomic_interaction_cutoff(), max_atomic_interaction_distance_, max_context_neighbor_cutoff_, core::scoring::n_score_types, core::scoring::num_context_graph_types, and scores_present_.
Referenced by ScoreFunctionInfo().
|
inline |
Definition at line 98 of file ScoreFunctionInfo.hh.
References max_atomic_interaction_distance_.
Referenced by core::scoring::symmetry::SymmetricEnergies::fill_point_graph(), and core::scoring::solid_surface::SurfaceEnergies::fill_point_graph().
|
inline |
Definition at line 103 of file ScoreFunctionInfo.hh.
References max_context_neighbor_cutoff_.
|
private |
| bool core::scoring::ScoreFunctionInfo::requires_context_graph | ( | ContextGraphType | cgt) | const |
Definition at line 119 of file ScoreFunctionInfo.cc.
References context_graphs_required_.
|
inline |
Definition at line 93 of file ScoreFunctionInfo.hh.
References scores_present_.
Referenced by core::scoring::operator<<().
|
friend |
comparison – fill this in
Definition at line 88 of file ScoreFunctionInfo.hh.
|
friend |
comparison – fill this in
Definition at line 99 of file ScoreFunctionInfo.cc.
|
private |
Definition at line 118 of file ScoreFunctionInfo.hh.
Referenced by initialize_from(), core::scoring::operator==(), and requires_context_graph().
|
private |
Definition at line 121 of file ScoreFunctionInfo.hh.
Referenced by initialize_from(), and core::scoring::operator==().
|
private |
Definition at line 115 of file ScoreFunctionInfo.hh.
Referenced by initialize_from(), max_atomic_interaction_distance(), and core::scoring::operator==().
|
private |
Definition at line 116 of file ScoreFunctionInfo.hh.
Referenced by initialize_from(), max_context_neighbor_cutoff(), and core::scoring::operator==().
|
private |
Definition at line 119 of file ScoreFunctionInfo.hh.
Referenced by initialize_from(), core::scoring::operator==(), and scores_present().
1.8.4