|
Rosetta 3.5
|
#include <DDGBindOptEData.hh>


Public Types | |
| enum | DDG_Bind_File_Index { WT_COMPLEXES_LIST_FILE = 1, MUT_COMPLEXES_LIST_FILE, WT_UNBOUNDS_LIST_FILE, MUT_UNBOUNDS_LIST_FILE } |
| typedef core::chemical::AA | AA |
Public Types inherited from protocols::optimize_weights::OptEPositionData | |
| typedef core::Real | Real |
| typedef core::Size | Size |
| typedef core::optimization::Multivec | Multivec |
| typedef core::scoring::EnergyMap | EnergyMap |
| typedef core::scoring::ScoreTypes | ScoreTypes |
Public Member Functions | |
| DDGBindOptEData () | |
| Initialize all of the member variables to 0. More... | |
| virtual | ~DDGBindOptEData () |
| virtual Real | get_score (Multivec const &component_weights, Multivec const &vars, Multivec &dE_dvars, Size const num_energy_dofs, int const num_ref_dofs, int const num_total_dofs, EnergyMap const &fixed_terms, ScoreTypes const &score_list, ScoreTypes const &fixed_score_list) const |
| virtual void | print_score (std::ostream &ostr, Multivec const &component_weights, Multivec const &vars, Multivec &dE_dvars, Size const num_energy_dofs, int const num_ref_dofs, int const num_total_dofs, EnergyMap const &fixed_terms, ScoreTypes const &score_list, ScoreTypes const &fixed_score_list) const |
| Real | process_score (std::ostream &ostr, bool print, Multivec const &component_weights, Multivec const &vars, Multivec &dE_dvars, Size const num_energy_dofs, int const num_ref_dofs, int const num_total_dofs, EnergyMap const &fixed_terms, ScoreTypes const &score_list, ScoreTypes const &fixed_score_list) const |
| One method to do the score processing which takes a boolean dictating whether to print to an ostream or not. With this function, changes to how scoring works only need to be made in one place as opposed to two (when get_score() and print_score() both had scoring logic in them). Avoiding code duplication is good. More... | |
| virtual OptEPositionDataType | type () const |
| virtual void | range (ScoreTypes const &free_score_list, ScoreTypes const &fixed_score_list, EnergyMap &lower_bound, EnergyMap &upper_bound) const |
| virtual Size | size () const |
| virtual Size | memory_use () const |
| virtual void | write_to_file (std::ofstream &) const |
| virtual void | read_from_file (std::ifstream &) |
| virtual void | write_to_binary_file (std::ofstream &) const |
| virtual void | read_from_binary_file (std::ifstream &) |
| void | set_experimental_ddg_bind (Real exp_ddg_bind) |
| void | add_mutation (std::pair< Size, std::pair< AA, AA > > mutation) |
| void | add_wt_complex (SingleStructureDataOP wt) |
| void | add_mutant_complex (SingleStructureDataOP mut) |
| void | add_wt_unbounds (SingleStructureDataOP wt) |
| void | add_mutant_unbounds (SingleStructureDataOP mut) |
Public Member Functions inherited from protocols::optimize_weights::OptEPositionData | |
| OptEPositionData () | |
| virtual | ~OptEPositionData () |
| void | tag (std::string const &tag_in) |
| std::string const & | tag () const |
Private Attributes | |
| Real | experimental_ddG_bind_ |
| utility::vector1< std::pair < Size, std::pair< AA, AA > > > | mutations_ |
| SingleStructureDataOPs | wt_complexes_ |
| SingleStructureDataOPs | mutant_complexes_ |
| SingleStructureDataOPs | wt_unbounds_ |
| SingleStructureDataOPs | mutant_unbounds_ |
Additional Inherited Members | |
Protected Member Functions inherited from protocols::optimize_weights::OptEPositionData | |
| void | update_range (SingleStructureDataCOP structure, ScoreTypes const &free_score_list, ScoreTypes const &fixed_score_list, EnergyMap &lower_bound, EnergyMap &upper_bound) const |
| Helper function for range(); updates lower/upper_bound as needed so that score_list scores from structure are included in the range. More... | |
Definition at line 30 of file DDGBindOptEData.hh.
Definition at line 34 of file DDGBindOptEData.hh.
| Enumerator | |
|---|---|
| WT_COMPLEXES_LIST_FILE | |
| MUT_COMPLEXES_LIST_FILE | |
| WT_UNBOUNDS_LIST_FILE | |
| MUT_UNBOUNDS_LIST_FILE | |
Definition at line 35 of file DDGBindOptEData.hh.
| protocols::optimize_weights::DDGBindOptEData::DDGBindOptEData | ( | ) |
Initialize all of the member variables to 0.
DDGBindOptEData::DDGBindOptEData()
Definition at line 50 of file DDGBindOptEData.cc.
Referenced by memory_use().
|
virtual |
DDGBindOptEData::~DDGBindOptEData()
Definition at line 57 of file DDGBindOptEData.cc.
| void protocols::optimize_weights::DDGBindOptEData::add_mutant_complex | ( | SingleStructureDataOP | mut) |
DDGBindOptEData::add_mutant_complex()
Definition at line 686 of file DDGBindOptEData.cc.
References mutant_complexes_.
| void protocols::optimize_weights::DDGBindOptEData::add_mutant_unbounds | ( | SingleStructureDataOP | mut) |
DDGBindOptEData::add_mutant_unbounds()
Definition at line 700 of file DDGBindOptEData.cc.
References mutant_unbounds_.
| void protocols::optimize_weights::DDGBindOptEData::add_mutation | ( | std::pair< Size, std::pair< AA, AA > > | mutation) |
DDGBindOptEData::add_mutation()
Definition at line 672 of file DDGBindOptEData.cc.
References mutations_.
| void protocols::optimize_weights::DDGBindOptEData::add_wt_complex | ( | SingleStructureDataOP | wt) |
DDGBindOptEData::add_wt_complex()
Definition at line 679 of file DDGBindOptEData.cc.
References wt_complexes_.
| void protocols::optimize_weights::DDGBindOptEData::add_wt_unbounds | ( | SingleStructureDataOP | wt) |
DDGBindOptEData::add_wt_unbounds()
Definition at line 693 of file DDGBindOptEData.cc.
References wt_unbounds_.
|
virtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 64 of file DDGBindOptEData.cc.
References process_score().
|
virtual |
Only used for user feedback. Nothing in the code uses the result from this to allocate memory.
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 317 of file DDGBindOptEData.cc.
References DDGBindOptEData(), mutant_complexes_, mutant_unbounds_, wt_complexes_, and wt_unbounds_.
|
virtual |
DDGBindOptEData::print_score()
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 83 of file DDGBindOptEData.cc.
References process_score().
| Real protocols::optimize_weights::DDGBindOptEData::process_score | ( | std::ostream & | ostr, |
| bool | print, | ||
| optimization::Multivec const & | component_weights, | ||
| optimization::Multivec const & | vars, | ||
| optimization::Multivec & | dE_dvars, | ||
| Size const | num_energy_dofs, | ||
| int const | num_ref_dofs, | ||
| int const | num_total_dofs, | ||
| EnergyMap const & | fixed_terms, | ||
| ScoreTypes const & | score_list, | ||
| ScoreTypes const & | fixed_score_list | ||
| ) | const |
One method to do the score processing which takes a boolean dictating whether to print to an ostream or not. With this function, changes to how scoring works only need to be made in one place as opposed to two (when get_score() and print_score() both had scoring logic in them). Avoiding code duplication is good.
DDGBindOptEData::process_score()
| num_energy_dofs | Basically, turn over all the private data from OptEMultiFunc |
Definition at line 109 of file DDGBindOptEData.cc.
References protocols::comparative_modeling::features::A, protocols::optimize_weights::ddG_bind_correlation, experimental_ddG_bind_, mutant_complexes_, mutant_unbounds_, mutations_, protocols::optimize_weights::OptEPositionData::tag(), wt_complexes_, wt_unbounds_, and core::scoring::rna::X.
Referenced by get_score(), and print_score().
|
virtual |
Determine the upper and lower bounds on the unweighted component energy terms at this "position" and deposit them in the passed-in EnergyMap objects. Called by the IterativeOptE driver class to print extra information to the minimization data file.
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 286 of file DDGBindOptEData.cc.
References mutant_complexes_, mutant_unbounds_, protocols::optimize_weights::OptEPositionData::update_range(), wt_complexes_, and wt_unbounds_.
|
inlinevirtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 68 of file DDGBindOptEData.hh.
|
inlinevirtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 66 of file DDGBindOptEData.hh.
| void protocols::optimize_weights::DDGBindOptEData::set_experimental_ddg_bind | ( | Real | exp_ddg_bind) |
DDGBindOptEData::set_experimental_ddg_bind()
Definition at line 665 of file DDGBindOptEData.cc.
References experimental_ddG_bind_.
|
virtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 307 of file DDGBindOptEData.cc.
References mutant_complexes_, mutant_unbounds_, wt_complexes_, and wt_unbounds_.
|
virtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 273 of file DDGBindOptEData.cc.
References protocols::optimize_weights::ddG_bind_correlation.
|
inlinevirtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 67 of file DDGBindOptEData.hh.
|
inlinevirtual |
Implements protocols::optimize_weights::OptEPositionData.
Definition at line 65 of file DDGBindOptEData.hh.
|
private |
Definition at line 80 of file DDGBindOptEData.hh.
Referenced by process_score(), and set_experimental_ddg_bind().
|
private |
Definition at line 84 of file DDGBindOptEData.hh.
Referenced by add_mutant_complex(), memory_use(), process_score(), range(), and size().
|
private |
Definition at line 86 of file DDGBindOptEData.hh.
Referenced by add_mutant_unbounds(), memory_use(), process_score(), range(), and size().
|
private |
Definition at line 81 of file DDGBindOptEData.hh.
Referenced by add_mutation(), and process_score().
|
private |
Definition at line 83 of file DDGBindOptEData.hh.
Referenced by add_wt_complex(), memory_use(), process_score(), range(), and size().
|
private |
Definition at line 85 of file DDGBindOptEData.hh.
Referenced by add_wt_unbounds(), memory_use(), process_score(), range(), and size().
1.8.4