![]() |
Rosetta Core
2014.16.56682
|
#include <ScoringManager.hh>
Static Public Member Functions | |
| static ScoringManager * | get_instance () |
| static function to get the instance of ( pointer to) this singleton class More... | |
Private Member Functions | |
| ScoringManager () | |
| ~ScoringManager () | |
Static Private Member Functions | |
| static ScoringManager * | create_singleton_instance () |
| private singleton creation function to be used with utility::thread::threadsafe_singleton More... | |
Static Private Attributes | |
| static ScoringManager * | instance_ |
|
private |
Referenced by create_singleton_instance().
|
private |
| void core::scoring::ScoringManager::add_etable | ( | std::string const & | name, |
| etable::EtableOP | etable | ||
| ) |
References etable(), and etables_by_string_.
| void core::scoring::ScoringManager::add_memb_etable | ( | std::string const & | name, |
| etable::MembEtableOP | etable | ||
| ) |
pba
References etable(), and memb_etables_.
|
staticprivate |
private singleton creation function to be used with utility::thread::threadsafe_singleton
References ScoringManager().
Referenced by get_instance().
| methods::EnergyMethodOP core::scoring::ScoringManager::energy_method | ( | ScoreType const & | score_type, |
| methods::EnergyMethodOptions const & | options | ||
| ) | const |
When a ScoreFunction the weight for a particular ScoreType set from 0 to some non-zero value, it will request an instance of the EnergyMethod class that is responsible for calculating that ScoreType. The ScoringManager responds to that request by asking the EnergyMethodCreator that has claimed responsibility for this ScoreType for a new instance. EnergyMethodCreators must first have registered themselves with the ScoringManager. This should have been done at load time, using a static-variable-initialization function call. See src/core/scoring/etable/EtableEnergy.cc for an example of how the EtableEnergyCreator class registers itself with the ScoringManager.
References method_creator_map_, core::scoring::n_score_types, core::scoring::python, utility::to_string(), and utility_exit_with_message.
| etable::EtableCAP core::scoring::ScoringManager::etable | ( | methods::EnergyMethodOptions const & | options_in | ) | const |
References core::scoring::methods::EnergyMethodOptions::etable_options(), core::scoring::methods::EnergyMethodOptions::etable_type(), etables_by_method_, core::chemical::FA_STANDARD, core::scoring::FA_STANDARD_DEFAULT, core::scoring::FA_STANDARD_SOFT, core::chemical::ChemicalManager::get_instance(), core::scoring::etable::EtableOptions::lj_switch_dis2sigma, and utility_exit_with_message.
Referenced by add_etable(), add_memb_etable(), etable(), and memb_etable().
| etable::EtableCAP core::scoring::ScoringManager::etable | ( | std::string const & | etable_id | ) | const |
| void core::scoring::ScoringManager::factory_register | ( | methods::EnergyMethodCreatorOP | creator | ) |
The ScoringManager acts as an EnergyMethodFactory. All EnergyMethods must create a helper class, an EnergyMethodCreator class, that will respond to a call to its create_energy_method by returning a new instance of that EnergyMethod its helping. This Creator class must also register itself with the ScoringManager at load time and hand an instance of itself to the singleton ScoringManager instance.
References method_creator_map_, utility::to_string(), and utility_exit_with_message.
Referenced by core::scoring::methods::PyEnergyMethodRegistrator::PyEnergyMethodRegistrator().
| AtomVDW const & core::scoring::ScoringManager::get_AtomVDW | ( | std::string const & | atom_type_set_name | ) | const |
References atom_vdw_.
| carbon_hbonds::CarbonHBondPotential const & core::scoring::ScoringManager::get_CarbonHBondPotential | ( | ) | const |
References carbon_hbond_potential_.
| CenHBPotential const & core::scoring::ScoringManager::get_CenHBPotential | ( | ) | const |
References cen_hb_potential_.
| CenRotEnvPairPotential const & core::scoring::ScoringManager::get_CenRotEnvPairPotential | ( | ) | const |
References cen_rot_pair_potential_.
| disulfides::CentroidDisulfidePotential & core::scoring::ScoringManager::get_CentroidDisulfidePotential | ( | ) | const |
References cen_disulfide_potential_.
| geometric_solvation::DatabaseOccSolEne const & core::scoring::ScoringManager::get_DatabaseOccSolEne | ( | std::string const & | atom_type_set_name, |
| Real const & | min_occ_energy | ||
| ) | const |
References occ_hbond_sol_database_.
| interface_::DDPlookup const & core::scoring::ScoringManager::get_DDPLookupTable | ( | ) | const |
References DDP_lookup_table_.
| dna::DirectReadoutPotential const & core::scoring::ScoringManager::get_DirectReadoutPotential | ( | ) | const |
References dna_dr_potential_.
| disulfides::DisulfideMatchingPotential & core::scoring::ScoringManager::get_DisulfideMatchingPotential | ( | ) | const |
References disulfide_matching_potential_.
| dna::DNA_BasePotential const & core::scoring::ScoringManager::get_DNA_BasePotential | ( | ) | const |
References DNA_base_potential_.
| dna::DNABFormPotential const & core::scoring::ScoringManager::get_DNABFormPotential | ( | ) | const |
References dnabform_.
| dna::DNATorsionPotential const & core::scoring::ScoringManager::get_DNATorsionPotential | ( | ) | const |
References dna_torsion_potential_.
| EnvPairPotential const & core::scoring::ScoringManager::get_EnvPairPotential | ( | ) | const |
References env_pair_potential_.
| FACTSPotential const & core::scoring::ScoringManager::get_FACTSPotential | ( | ) | const |
References facts_potential_.
| disulfides::FullatomDisulfidePotential & core::scoring::ScoringManager::get_FullatomDisulfidePotential | ( | ) | const |
References fa_disulfide_potential_.
| GenBornPotential const & core::scoring::ScoringManager::get_GenBornPotential | ( | ) | const |
References gen_born_potential_.
|
static |
static function to get the instance of ( pointer to) this singleton class
References create_singleton_instance(), instance_, and utility::thread::safely_create_singleton().
Referenced by core::scoring::etable::CoarseEtableEnergyCreator::create_energy_method(), core::scoring::rna::RNA_LJ_BaseEnergyCreator::create_energy_method(), core::scoring::disulfides::DisulfideMatchingEnergyCreator::create_energy_method(), core::scoring::methods::LK_hackCreator::create_energy_method(), core::scoring::methods::Fa_MbenvEnergyCreator::create_energy_method(), core::scoring::methods::Fa_MbsolvEnergyCreator::create_energy_method(), core::scoring::disulfides::CentroidDisulfideEnergyCreator::create_energy_method(), core::scoring::disulfides::FullatomDisulfideEnergyCreator::create_energy_method(), core::scoring::etable::EtableEnergyCreator::create_energy_method(), core::scoring::methods::PyEnergyMethodRegistrator::PyEnergyMethodRegistrator(), core::scoring::hbonds::HBondEnergy::setup_for_packing(), core::scoring::hbonds::HBondEnergy::setup_for_scoring(), core::scoring::dna::show_base_pair_params_with_z_scores(), and core::scoring::dna::show_new_base_step_params().
| Membrane_FAPotential const & core::scoring::ScoringManager::get_Membrane_FAPotential | ( | ) | const |
References membrane_fapotential_.
Referenced by core::scoring::hbonds::HBondEnergy::setup_for_packing(), and core::scoring::hbonds::HBondEnergy::setup_for_scoring().
| MembranePotential const & core::scoring::ScoringManager::get_MembranePotential | ( | ) | const |
References membrane_potential_.
| core::scoring::mm::MMBondAngleLibrary const & core::scoring::ScoringManager::get_MMBondAngleLibrary | ( | ) | const |
| core::scoring::mm::MMBondLengthLibrary const & core::scoring::ScoringManager::get_MMBondLengthLibrary | ( | ) | const |
| core::scoring::mm::MMLJEnergyTable const & core::scoring::ScoringManager::get_MMLJEnergyTable | ( | ) | const |
References mm_lj_energy_table_.
| core::scoring::mm::MMLJLibrary const & core::scoring::ScoringManager::get_MMLJLibrary | ( | ) | const |
| core::scoring::mm::MMTorsionLibrary const & core::scoring::ScoringManager::get_MMTorsionLibrary | ( | ) | const |
| nv::NVlookup const & core::scoring::ScoringManager::get_NVLookupTable | ( | ) | const |
References basic::database::full_name(), NV_lookup_table_, score::NV_table, and option.
| OmegaTether const & core::scoring::ScoringManager::get_OmegaTether | ( | ) | const |
References omega_.
| orbitals::OrbitalsLookup const & core::scoring::ScoringManager::get_OrbitalsLookupTable | ( | ) | const |
References orbitals_lookup_table_.
| PairEPotential const & core::scoring::ScoringManager::get_PairEPotential | ( | ) | const |
References pairE_potential_.
| PoissonBoltzmannPotential const & core::scoring::ScoringManager::get_PoissonBoltzmannPotential | ( | ) | const |
References PB_potential_.
| ProQPotential const & core::scoring::ScoringManager::get_ProQPotential | ( | ) | const |
References ProQ_potential_.
| Rama2BOffset const & core::scoring::ScoringManager::get_Rama2BOffset | ( | ) | const |
RotamerLibrary & get_RotamerLibrary() const;.
References rama2bo_.
| Ramachandran const & core::scoring::ScoringManager::get_Ramachandran | ( | ) | const |
References rama_.
| Ramachandran2B const & core::scoring::ScoringManager::get_Ramachandran2B | ( | ) | const |
References rama2b_.
| rna::RNA_AtomVDW const & core::scoring::ScoringManager::get_RNA_AtomVDW | ( | ) | const |
References rna_atom_vdw_.
| rna::chemical_shift::RNA_ChemicalShiftPotential const & core::scoring::ScoringManager::get_RNA_ChemicalShiftPotential | ( | ) | const |
References rna_chemical_shift_potential_.
| rna::RNA_LowResolutionPotential const & core::scoring::ScoringManager::get_RNA_LowResolutionPotential | ( | ) | const |
References rna_low_resolution_potential_.
| rna::RNA_TorsionPotential const & core::scoring::ScoringManager::get_RNA_TorsionPotential | ( | ) | const |
References rna_torsion_potential_.
| SecondaryStructurePotential const & core::scoring::ScoringManager::get_SecondaryStructurePotential | ( | ) | const |
References secondary_structure_potential_.
| SmoothEnvPairPotential const & core::scoring::ScoringManager::get_SmoothEnvPairPotential | ( | ) | const |
References smooth_env_pair_potential_.
| UnfoldedStatePotential const & core::scoring::ScoringManager::get_UnfoldedStatePotential | ( | std::string const & | type | ) | const |
| WaterAdductHBondPotential const & core::scoring::ScoringManager::get_WaterAdductHBondPotential | ( | ) | const |
References water_adduct_hbond_potential_.
alot of this was pulled from RotamerLibrary.cc
Test if there is an EnergyMethod class defined for a given score type.
References method_creator_map_, core::scoring::n_score_types, and core::scoring::python.
| etable::MembEtableCAP core::scoring::ScoringManager::memb_etable | ( | std::string const & | table_id | ) | const |
|
mutableprivate |
Referenced by get_AtomVDW().
|
mutableprivate |
Referenced by get_CarbonHBondPotential().
|
mutableprivate |
Referenced by get_CentroidDisulfidePotential().
|
mutableprivate |
Referenced by get_CenHBPotential().
|
mutableprivate |
Referenced by get_CenRotEnvPairPotential().
|
mutableprivate |
Referenced by get_DDPLookupTable().
|
mutableprivate |
Referenced by get_DisulfideMatchingPotential().
|
mutableprivate |
Referenced by get_DNA_BasePotential().
|
mutableprivate |
Referenced by get_DirectReadoutPotential().
|
mutableprivate |
Referenced by get_DNATorsionPotential().
|
mutableprivate |
Referenced by get_DNABFormPotential().
|
mutableprivate |
Referenced by get_EnvPairPotential().
|
mutableprivate |
Referenced by etable().
|
mutableprivate |
Referenced by add_etable(), and etable().
|
mutableprivate |
Referenced by get_FullatomDisulfidePotential().
|
mutableprivate |
Referenced by get_FACTSPotential().
|
mutableprivate |
Referenced by get_GenBornPotential().
|
staticprivate |
Referenced by get_instance().
|
mutableprivate |
Referenced by add_memb_etable(), and memb_etable().
|
mutableprivate |
Referenced by get_Membrane_FAPotential().
|
mutableprivate |
Referenced by get_MembranePotential().
|
private |
mutable std::map< std::string, pack::dunbrack::SingleResidueRotamerLibraryCOP > ncaa_rotlibs_;
Referenced by energy_method(), factory_register(), and has_energy_method().
|
mutableprivate |
Referenced by get_MMBondAngleLibrary().
|
mutableprivate |
Referenced by get_MMBondLengthLibrary().
|
mutableprivate |
Referenced by get_MMLJEnergyTable().
|
mutableprivate |
Referenced by get_MMLJLibrary().
|
mutableprivate |
Referenced by get_MMTorsionLibrary().
|
mutableprivate |
Referenced by get_NVLookupTable().
|
mutableprivate |
Referenced by get_DatabaseOccSolEne().
|
mutableprivate |
Referenced by get_OmegaTether().
|
mutableprivate |
Referenced by get_OrbitalsLookupTable().
|
mutableprivate |
Referenced by get_P_AA().
|
mutableprivate |
Referenced by get_PairEPotential().
|
mutableprivate |
Referenced by get_PoissonBoltzmannPotential().
|
mutableprivate |
Referenced by get_ProQPotential().
|
mutableprivate |
Referenced by get_Ramachandran2B().
|
mutableprivate |
Referenced by get_Rama2BOffset().
|
mutableprivate |
Referenced by get_Ramachandran().
|
mutableprivate |
Referenced by get_RNA_AtomVDW().
|
mutableprivate |
Referenced by get_RNA_ChemicalShiftPotential().
|
mutableprivate |
Referenced by get_RNA_LowResolutionPotential().
|
mutableprivate |
Referenced by get_RNA_TorsionPotential().
|
mutableprivate |
Referenced by get_SecondaryStructurePotential().
|
mutableprivate |
Referenced by get_SmoothEnvPairPotential().
|
mutableprivate |
Referenced by get_UnfoldedStatePotential().
|
mutableprivate |
Referenced by get_WaterAdductHBondPotential().
1.8.7