Rosetta Core  2014.35
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
core::scoring::ScoringManager Class Reference

#include <ScoringManager.hh>

Public Member Functions

void factory_register (methods::EnergyMethodCreatorOP creator)
 
PairEPotential const & get_PairEPotential () const
 
GenBornPotential const & get_GenBornPotential () const
 
FACTSPotential const & get_FACTSPotential () const
 
dna::DNA_BasePotential const & get_DNA_BasePotential () const
 
Rama2BOffset const & get_Rama2BOffset () const
 RotamerLibrary & get_RotamerLibrary() const;. More...
 
Ramachandran2BCOP get_Ramachandran2B_ptr () const
 
Ramachandran2B const & get_Ramachandran2B () const
 
RamachandranCOP get_Ramachandran_ptr () const
 
Ramachandran const & get_Ramachandran () const
 
dna::DNABFormPotential const & get_DNABFormPotential () const
 
dna::DNATorsionPotential const & get_DNATorsionPotential () const
 
OmegaTether const & get_OmegaTether () const
 
SmoothEnvPairPotential const & get_SmoothEnvPairPotential () const
 
CenRotEnvPairPotential const & get_CenRotEnvPairPotential () const
 
CenHBPotential const & get_CenHBPotential () const
 
EnvPairPotential const & get_EnvPairPotential () const
 
SecondaryStructurePotential const & get_SecondaryStructurePotential () const
 
AtomVDW const & get_AtomVDW (std::string const &atom_type_set_name) const
 
rna::RNA_AtomVDW const & get_RNA_AtomVDW () const
 
geometric_solvation::DatabaseOccSolEne
const & 
get_DatabaseOccSolEne (std::string const &atom_type_set_name, Real const &min_occ_energy) const
 
carbon_hbonds::CarbonHBondPotential
const & 
get_CarbonHBondPotential () const
 
rna::RNA_LowResolutionPotential
const & 
get_RNA_LowResolutionPotential () const
 
rna::RNA_TorsionPotential const & get_RNA_TorsionPotential () const
 
rna::RNA_SuitePotential const & get_RNA_SuitePotential () const
 
rna::chemical_shift::RNA_ChemicalShiftPotential
const & 
get_RNA_ChemicalShiftPotential () const
 
rna::data::RNA_DMS_Potentialget_RNA_DMS_Potential () const
 
rna::data::RNA_DMS_LowResolutionPotentialget_RNA_DMS_LowResolutionPotential () const
 
dna::DirectReadoutPotential const & get_DirectReadoutPotential () const
 
mm::MMLJLibrary const & get_MMLJLibrary () const
 
mm::MMLJEnergyTable const & get_MMLJEnergyTable () const
 
mm::MMTorsionLibrary const & get_MMTorsionLibrary () const
 
mm::MMBondAngleLibrary const & get_MMBondAngleLibrary () const
 
mm::MMBondLengthLibrary const & get_MMBondLengthLibrary () const
 
nv::NVlookup const & get_NVLookupTable () const
 
core::scoring::orbitals::OrbitalsLookup
const & 
get_OrbitalsLookupTable () const
 
interface_::DDPlookup const & get_DDPLookupTable () const
 
P_AA const & get_P_AA () const
 
UnfoldedStatePotential const & get_UnfoldedStatePotential (std::string const &type) const
 
WaterAdductHBondPotential const & get_WaterAdductHBondPotential () const
 
MembranePotential const & get_MembranePotential () const
 
membrane::MembraneData const & get_MembraneData () const
 
Membrane_FAPotential const & get_Membrane_FAPotential () const
 
ProQPotential const & get_ProQPotential () const
 
PoissonBoltzmannPotential const & get_PoissonBoltzmannPotential () const
 
disulfides::FullatomDisulfidePotentialget_FullatomDisulfidePotential () const
 
disulfides::CentroidDisulfidePotentialget_CentroidDisulfidePotential () const
 
disulfides::DisulfideMatchingPotentialget_DisulfideMatchingPotential () const
 
bool has_energy_method (ScoreType t) const
 alot of this was pulled from RotamerLibrary.cc More...
 
methods::EnergyMethodOP energy_method (ScoreType const &t, methods::EnergyMethodOptions const &options) const
 
void add_etable (std::string const &name, etable::EtableOP etable)
 
void add_memb_etable (std::string const &name, etable::MembEtableOP etable)
 pba More...
 
etable::MembEtableCAP memb_etable (std::string const &table_id) const
 pba More...
 
etable::EtableCAP etable (methods::EnergyMethodOptions const &options_in) const
 
etable::EtableCAP etable (std::string const &etable_id) const
 old More...
 

Static Public Member Functions

static ScoringManagerget_instance ()
 static function to get the instance of ( pointer to) this singleton class More...
 

Private Member Functions

 ScoringManager ()
 
 ~ScoringManager ()
 

Static Private Member Functions

static ScoringManagercreate_singleton_instance ()
 private singleton creation function to be used with utility::thread::threadsafe_singleton More...
 

Private Attributes

PairEPotentialOP pairE_potential_
 
RamachandranOP rama_
 
Ramachandran2BOP rama2b_
 
Rama2BOffsetOP rama2bo_
 
OmegaTetherOP omega_
 
EnvPairPotentialOP env_pair_potential_
 
SmoothEnvPairPotentialOP smooth_env_pair_potential_
 
CenRotEnvPairPotentialOP cen_rot_pair_potential_
 
CenHBPotentialOP cen_hb_potential_
 
SecondaryStructurePotentialOP secondary_structure_potential_
 
std::map< std::string, AtomVDWOPatom_vdw_
 
rna::RNA_AtomVDWOP rna_atom_vdw_
 
geometric_solvation::DatabaseOccSolEneOP occ_hbond_sol_database_
 
dna::DirectReadoutPotentialOP dna_dr_potential_
 
mm::MMLJLibraryOP mm_lj_library_
 
mm::MMLJEnergyTableOP mm_lj_energy_table_
 
mm::MMTorsionLibraryOP mm_torsion_library_
 
mm::MMBondAngleLibraryOP mm_bondangle_library_
 
mm::MMBondLengthLibraryOP mm_bondlength_library_
 
dna::DNABFormPotentialdnabform_
 
dna::DNATorsionPotentialdna_torsion_potential_
 
dna::DNA_BasePotentialOP DNA_base_potential_
 
carbon_hbonds::CarbonHBondPotentialOP carbon_hbond_potential_
 
rna::RNA_LowResolutionPotentialOP rna_low_resolution_potential_
 
rna::RNA_TorsionPotentialOP rna_torsion_potential_
 
rna::RNA_SuitePotentialOP rna_suite_potential_
 
rna::chemical_shift::RNA_ChemicalShiftPotentialrna_chemical_shift_potential_
 
rna::data::RNA_DMS_PotentialOP rna_dms_potential_
 
rna::data::RNA_DMS_LowResolutionPotentialOP rna_dms_low_resolution_potential_
 
P_AAOP p_aa_
 
WaterAdductHBondPotentialOP water_adduct_hbond_potential_
 
GenBornPotentialOP gen_born_potential_
 
FACTSPotentialOP facts_potential_
 
disulfides::FullatomDisulfidePotentialOP fa_disulfide_potential_
 
disulfides::CentroidDisulfidePotentialOP cen_disulfide_potential_
 
disulfides::DisulfideMatchingPotentialOP disulfide_matching_potential_
 
MembranePotentialOP membrane_potential_
 
membrane::MembraneDataOP mp_base_potential_
 
Membrane_FAPotentialOP membrane_fapotential_
 
ProQPotentialProQ_potential_
 
PoissonBoltzmannPotentialOP PB_potential_
 
UnfoldedStatePotentialOP unf_state_
 
nv::NVlookupOP NV_lookup_table_
 
orbitals::OrbitalsLookupOP orbitals_lookup_table_
 
interface_::DDPlookupOP DDP_lookup_table_
 
std::map< std::string,
etable::EtableOP
etables_by_string_
 
utility::vector1< std::pair
< methods::EnergyMethodOptions,
etable::EtableOP > > 
etables_by_method_
 
std::map< std::string,
etable::MembEtableOP
memb_etables_
 
utility::vector1
< methods::EnergyMethodCreatorOP
method_creator_map_
 mutable std::map< std::string, pack::dunbrack::SingleResidueRotamerLibraryCOP > ncaa_rotlibs_; More...
 

Static Private Attributes

static ScoringManagerinstance_
 

Constructor & Destructor Documentation

core::scoring::ScoringManager::ScoringManager ( )
private
core::scoring::ScoringManager::~ScoringManager ( )
private

Member Function Documentation

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_.

ScoringManager * core::scoring::ScoringManager::create_singleton_instance ( )
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
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
CenHBPotential const & core::scoring::ScoringManager::get_CenHBPotential ( ) const

References cen_hb_potential_.

CenRotEnvPairPotential const & core::scoring::ScoringManager::get_CenRotEnvPairPotential ( ) const
disulfides::CentroidDisulfidePotential & core::scoring::ScoringManager::get_CentroidDisulfidePotential ( ) const
geometric_solvation::DatabaseOccSolEne const & core::scoring::ScoringManager::get_DatabaseOccSolEne ( std::string const &  atom_type_set_name,
Real const &  min_occ_energy 
) const
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
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
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
GenBornPotential const & core::scoring::ScoringManager::get_GenBornPotential ( ) const

References gen_born_potential_.

ScoringManager * core::scoring::ScoringManager::get_instance ( )
static
Membrane_FAPotential const & core::scoring::ScoringManager::get_Membrane_FAPotential ( ) const
membrane::MembraneData const & core::scoring::ScoringManager::get_MembraneData ( ) const

References mp_base_potential_.

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
OmegaTether const & core::scoring::ScoringManager::get_OmegaTether ( ) const

References omega_.

orbitals::OrbitalsLookup const & core::scoring::ScoringManager::get_OrbitalsLookupTable ( ) const
P_AA const & core::scoring::ScoringManager::get_P_AA ( ) const

References p_aa_.

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
Ramachandran2B const & core::scoring::ScoringManager::get_Ramachandran2B ( ) const
Ramachandran2BCOP core::scoring::ScoringManager::get_Ramachandran2B_ptr ( ) const

References rama2b_.

Referenced by get_Ramachandran2B().

RamachandranCOP core::scoring::ScoringManager::get_Ramachandran_ptr ( ) const

References rama_.

Referenced by get_Ramachandran().

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
rna::data::RNA_DMS_LowResolutionPotential & core::scoring::ScoringManager::get_RNA_DMS_LowResolutionPotential ( ) const
rna::data::RNA_DMS_Potential & core::scoring::ScoringManager::get_RNA_DMS_Potential ( ) const

References rna_dms_potential_.

rna::RNA_LowResolutionPotential const & core::scoring::ScoringManager::get_RNA_LowResolutionPotential ( ) const
rna::RNA_SuitePotential const & core::scoring::ScoringManager::get_RNA_SuitePotential ( ) const

References rna_suite_potential_.

rna::RNA_TorsionPotential const & core::scoring::ScoringManager::get_RNA_TorsionPotential ( ) const
SecondaryStructurePotential const & core::scoring::ScoringManager::get_SecondaryStructurePotential ( ) const
SmoothEnvPairPotential const & core::scoring::ScoringManager::get_SmoothEnvPairPotential ( ) const
UnfoldedStatePotential const & core::scoring::ScoringManager::get_UnfoldedStatePotential ( std::string const &  type) const
WaterAdductHBondPotential const & core::scoring::ScoringManager::get_WaterAdductHBondPotential ( ) const
bool core::scoring::ScoringManager::has_energy_method ( ScoreType  score_type) const

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

Member Data Documentation

std::map< std::string, AtomVDWOP > core::scoring::ScoringManager::atom_vdw_
mutableprivate

Referenced by get_AtomVDW().

carbon_hbonds::CarbonHBondPotentialOP core::scoring::ScoringManager::carbon_hbond_potential_
mutableprivate
disulfides::CentroidDisulfidePotentialOP core::scoring::ScoringManager::cen_disulfide_potential_
mutableprivate
CenHBPotentialOP core::scoring::ScoringManager::cen_hb_potential_
mutableprivate

Referenced by get_CenHBPotential().

CenRotEnvPairPotentialOP core::scoring::ScoringManager::cen_rot_pair_potential_
mutableprivate
interface_::DDPlookupOP core::scoring::ScoringManager::DDP_lookup_table_
mutableprivate

Referenced by get_DDPLookupTable().

disulfides::DisulfideMatchingPotentialOP core::scoring::ScoringManager::disulfide_matching_potential_
mutableprivate
dna::DNA_BasePotentialOP core::scoring::ScoringManager::DNA_base_potential_
mutableprivate

Referenced by get_DNA_BasePotential().

dna::DirectReadoutPotentialOP core::scoring::ScoringManager::dna_dr_potential_
mutableprivate
dna::DNATorsionPotential* core::scoring::ScoringManager::dna_torsion_potential_
mutableprivate

Referenced by get_DNATorsionPotential().

dna::DNABFormPotential* core::scoring::ScoringManager::dnabform_
mutableprivate

Referenced by get_DNABFormPotential().

EnvPairPotentialOP core::scoring::ScoringManager::env_pair_potential_
mutableprivate

Referenced by get_EnvPairPotential().

utility::vector1< std::pair< methods::EnergyMethodOptions, etable::EtableOP > > core::scoring::ScoringManager::etables_by_method_
mutableprivate

Referenced by etable().

std::map< std::string, etable::EtableOP > core::scoring::ScoringManager::etables_by_string_
mutableprivate

Referenced by add_etable(), and etable().

disulfides::FullatomDisulfidePotentialOP core::scoring::ScoringManager::fa_disulfide_potential_
mutableprivate
FACTSPotentialOP core::scoring::ScoringManager::facts_potential_
mutableprivate

Referenced by get_FACTSPotential().

GenBornPotentialOP core::scoring::ScoringManager::gen_born_potential_
mutableprivate

Referenced by get_GenBornPotential().

ScoringManager * core::scoring::ScoringManager::instance_
staticprivate

Referenced by get_instance().

std::map< std::string, etable::MembEtableOP > core::scoring::ScoringManager::memb_etables_
mutableprivate

Referenced by add_memb_etable(), and memb_etable().

Membrane_FAPotentialOP core::scoring::ScoringManager::membrane_fapotential_
mutableprivate
MembranePotentialOP core::scoring::ScoringManager::membrane_potential_
mutableprivate

Referenced by get_MembranePotential().

utility::vector1< methods::EnergyMethodCreatorOP > core::scoring::ScoringManager::method_creator_map_
private

mutable std::map< std::string, pack::dunbrack::SingleResidueRotamerLibraryCOP > ncaa_rotlibs_;

Referenced by energy_method(), factory_register(), and has_energy_method().

mm::MMBondAngleLibraryOP core::scoring::ScoringManager::mm_bondangle_library_
mutableprivate

Referenced by get_MMBondAngleLibrary().

mm::MMBondLengthLibraryOP core::scoring::ScoringManager::mm_bondlength_library_
mutableprivate

Referenced by get_MMBondLengthLibrary().

mm::MMLJEnergyTableOP core::scoring::ScoringManager::mm_lj_energy_table_
mutableprivate

Referenced by get_MMLJEnergyTable().

mm::MMLJLibraryOP core::scoring::ScoringManager::mm_lj_library_
mutableprivate

Referenced by get_MMLJLibrary().

mm::MMTorsionLibraryOP core::scoring::ScoringManager::mm_torsion_library_
mutableprivate

Referenced by get_MMTorsionLibrary().

membrane::MembraneDataOP core::scoring::ScoringManager::mp_base_potential_
mutableprivate

Referenced by get_MembraneData().

nv::NVlookupOP core::scoring::ScoringManager::NV_lookup_table_
mutableprivate

Referenced by get_NVLookupTable().

geometric_solvation::DatabaseOccSolEneOP core::scoring::ScoringManager::occ_hbond_sol_database_
mutableprivate

Referenced by get_DatabaseOccSolEne().

OmegaTetherOP core::scoring::ScoringManager::omega_
mutableprivate

Referenced by get_OmegaTether().

orbitals::OrbitalsLookupOP core::scoring::ScoringManager::orbitals_lookup_table_
mutableprivate

Referenced by get_OrbitalsLookupTable().

P_AAOP core::scoring::ScoringManager::p_aa_
mutableprivate

Referenced by get_P_AA().

PairEPotentialOP core::scoring::ScoringManager::pairE_potential_
mutableprivate

Referenced by get_PairEPotential().

PoissonBoltzmannPotentialOP core::scoring::ScoringManager::PB_potential_
mutableprivate
ProQPotential* core::scoring::ScoringManager::ProQ_potential_
mutableprivate

Referenced by get_ProQPotential().

Ramachandran2BOP core::scoring::ScoringManager::rama2b_
mutableprivate

Referenced by get_Ramachandran2B_ptr().

Rama2BOffsetOP core::scoring::ScoringManager::rama2bo_
mutableprivate

Referenced by get_Rama2BOffset().

RamachandranOP core::scoring::ScoringManager::rama_
mutableprivate

Referenced by get_Ramachandran_ptr().

rna::RNA_AtomVDWOP core::scoring::ScoringManager::rna_atom_vdw_
mutableprivate

Referenced by get_RNA_AtomVDW().

rna::chemical_shift::RNA_ChemicalShiftPotential* core::scoring::ScoringManager::rna_chemical_shift_potential_
mutableprivate
rna::data::RNA_DMS_LowResolutionPotentialOP core::scoring::ScoringManager::rna_dms_low_resolution_potential_
mutableprivate
rna::data::RNA_DMS_PotentialOP core::scoring::ScoringManager::rna_dms_potential_
mutableprivate

Referenced by get_RNA_DMS_Potential().

rna::RNA_LowResolutionPotentialOP core::scoring::ScoringManager::rna_low_resolution_potential_
mutableprivate
rna::RNA_SuitePotentialOP core::scoring::ScoringManager::rna_suite_potential_
mutableprivate

Referenced by get_RNA_SuitePotential().

rna::RNA_TorsionPotentialOP core::scoring::ScoringManager::rna_torsion_potential_
mutableprivate
SecondaryStructurePotentialOP core::scoring::ScoringManager::secondary_structure_potential_
mutableprivate
SmoothEnvPairPotentialOP core::scoring::ScoringManager::smooth_env_pair_potential_
mutableprivate
UnfoldedStatePotentialOP core::scoring::ScoringManager::unf_state_
mutableprivate
WaterAdductHBondPotentialOP core::scoring::ScoringManager::water_adduct_hbond_potential_
mutableprivate

The documentation for this class was generated from the following files: