Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
scoring
ScoringManager.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file core/scoring/ScoringManager.hh
11
/// @brief Scoring manager class header
12
/// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13
14
#ifndef INCLUDED_core_scoring_ScoringManager_hh
15
#define INCLUDED_core_scoring_ScoringManager_hh
16
17
// Unit headers
18
#include <
core/scoring/ScoringManager.fwd.hh
>
19
20
// Package headers
21
//#include <core/pack/dunbrack/RotamerLibrary.fwd.hh>
22
#include <
core/scoring/PairEPotential.fwd.hh
>
23
#include <
core/scoring/dna/DNA_BasePotential.fwd.hh
>
24
#include <
core/scoring/dna/DNABFormPotential.fwd.hh
>
25
#include <
core/scoring/dna/DNATorsionPotential.fwd.hh
>
26
#include <
core/scoring/dna/DirectReadoutPotential.fwd.hh
>
27
#include <
core/scoring/Ramachandran.fwd.hh
>
28
#include <
core/scoring/Ramachandran2B.fwd.hh
>
29
#include <
core/scoring/OmegaTether.fwd.hh
>
30
#include <
core/scoring/EnvPairPotential.fwd.hh
>
31
#include <
core/scoring/SmoothEnvPairPotential.fwd.hh
>
32
#include <
core/scoring/CenHBPotential.fwd.hh
>
33
#include <
core/scoring/MembranePotential.fwd.hh
>
34
#include <
core/scoring/Membrane_FAPotential.fwd.hh
>
//pba
35
//#include <core/scoring/InterchainPotential.fwd.hh>
36
#include <
core/scoring/SecondaryStructurePotential.fwd.hh
>
37
#include <
core/scoring/GenBornPotential.fwd.hh
>
38
#include <
core/scoring/AtomVDW.fwd.hh
>
39
#include <
core/scoring/carbon_hbonds/CarbonHBondPotential.fwd.hh
>
40
#include <
core/scoring/geometric_solvation/DatabaseOccSolEne.fwd.hh
>
41
#include <
core/scoring/rna/RNA_AtomVDW.fwd.hh
>
42
#include <
core/scoring/rna/RNA_TorsionPotential.fwd.hh
>
43
#include <
core/scoring/rna/RNA_LowResolutionPotential.fwd.hh
>
44
#include <
core/scoring/rna/chemical_shift/RNA_ChemicalShiftPotential.fwd.hh
>
45
#include <
core/scoring/P_AA.fwd.hh
>
46
#include <
core/scoring/WaterAdductHBondPotential.fwd.hh
>
47
#include <
core/scoring/disulfides/FullatomDisulfidePotential.fwd.hh
>
48
#include <
core/scoring/disulfides/CentroidDisulfidePotential.fwd.hh
>
49
#include <
core/scoring/disulfides/DisulfideMatchingPotential.fwd.hh
>
50
#include <
core/scoring/UnfoldedStatePotential.fwd.hh
>
51
#include <
core/scoring/PoissonBoltzmannPotential.fwd.hh
>
52
53
#include <
core/scoring/mm/MMLJLibrary.fwd.hh
>
54
#include <
core/scoring/mm/MMLJEnergyTable.fwd.hh
>
55
#include <
core/scoring/mm/MMTorsionLibrary.fwd.hh
>
56
#include <
core/scoring/mm/MMBondAngleLibrary.fwd.hh
>
57
#include <
core/scoring/mm/MMBondLengthLibrary.fwd.hh
>
58
59
// AUTO-REMOVED #include <core/chemical/ResidueType.fwd.hh>
60
#include <
core/scoring/nv/NVlookup.fwd.hh
>
61
#include <
core/scoring/orbitals/OrbitalsLookup.fwd.hh
>
62
#include <
core/scoring/interface/DDPlookup.fwd.hh
>
63
#include <
core/scoring/methods/EnergyMethod.fwd.hh
>
64
65
#include <
core/scoring/methods/EnergyMethodOptions.fwd.hh
>
66
#include <
core/scoring/methods/EnergyMethodCreator.fwd.hh
>
67
#ifdef WIN32
68
#include <
core/scoring/methods/EnergyMethodCreator.hh
>
// WIN32 INCLUDE
69
#endif
70
71
// AUTO-REMOVED #include <core/scoring/EnergyMap.fwd.hh>
72
// AUTO-REMOVED #include <core/scoring/types.hh>
73
#include <
core/scoring/ScoreType.hh
>
74
#include <
core/scoring/etable/Etable.fwd.hh
>
75
#include <
core/scoring/memb_etable/MembEtable.fwd.hh
>
//pba
76
//XRW_B_T1
77
//#include <core/coarse/CoarseEtable.fwd.hh>
78
//XRW_E_T1
79
80
// C++ headers
81
#include <map>
82
83
#include <utility/vector1.hh>
84
85
86
namespace
core {
87
namespace
scoring {
88
89
//singelton class
90
class
ScoringManager
91
{
92
public
:
93
//typedef core::scoring::mm::MMLJLibrary MMLJLibrary;
94
//typedef core::scoring::mm::MMLJEnergyTable MMLJEnergyTable;
95
//typedef core::scoring::mm::MMTorsionLibrary MMTorsionLibrary;
96
//typedef core::scoring::mm::MMBondAngleLibrary MMBondAngleLibrary;
97
//typedef core::scoring::mm::MMBondLengthLibrary MMBondLengthLibrary;
98
99
public
:
100
static
ScoringManager
*
get_instance
();
101
102
void
factory_register
(
methods::EnergyMethodCreatorOP
creator );
103
104
//P_AA const & get_P_AA() const;
105
//ReferenceEnergyPotential const & get_ReferenceEnergyPotnential() const;
106
PairEPotential
const
&
get_PairEPotential
()
const
;
107
108
GenBornPotential
const
&
get_GenBornPotential
()
const
;
109
110
dna::DNA_BasePotential
const
&
get_DNA_BasePotential
()
const
;
111
112
///RotamerLibrary & get_RotamerLibrary() const;
113
114
Ramachandran2B
const
&
get_Ramachandran2B
()
const
;
115
116
Ramachandran
const
&
get_Ramachandran
()
const
;
117
118
dna::DNABFormPotential
const
&
get_DNABFormPotential
()
const
;
119
120
dna::DNATorsionPotential
const
&
get_DNATorsionPotential
()
const
;
121
122
OmegaTether
const
&
get_OmegaTether
()
const
;
123
124
SmoothEnvPairPotential
const
&
get_SmoothEnvPairPotential
()
const
;
125
126
CenHBPotential
const
&
get_CenHBPotential
()
const
;
127
128
EnvPairPotential
const
&
get_EnvPairPotential
()
const
;
129
130
SecondaryStructurePotential
const
&
get_SecondaryStructurePotential
()
const
;
131
132
AtomVDW
const
&
get_AtomVDW
(
std::string
const
& atom_type_set_name )
const
;
133
134
rna::RNA_AtomVDW
const
&
get_RNA_AtomVDW
()
const
;
135
136
geometric_solvation::DatabaseOccSolEne
const
&
137
get_DatabaseOccSolEne
(
138
std::string
const
& atom_type_set_name,
139
Real
const
& min_occ_energy
140
)
const
;
141
142
carbon_hbonds::CarbonHBondPotential
const
&
get_CarbonHBondPotential
()
const
;
143
144
rna::RNA_LowResolutionPotential
const
&
get_RNA_LowResolutionPotential
()
const
;
145
146
rna::RNA_TorsionPotential
const
&
get_RNA_TorsionPotential
()
const
;
147
148
rna::chemical_shift::RNA_ChemicalShiftPotential
const
&
get_RNA_ChemicalShiftPotential
()
const
;
149
150
dna::DirectReadoutPotential
const
&
get_DirectReadoutPotential
()
const
;
151
152
mm::MMLJLibrary
const
&
get_MMLJLibrary
()
const
;
153
154
mm::MMLJEnergyTable
const
&
get_MMLJEnergyTable
()
const
;
155
156
mm::MMTorsionLibrary
const
&
get_MMTorsionLibrary
()
const
;
157
158
mm::MMBondAngleLibrary
const
&
get_MMBondAngleLibrary
()
const
;
159
160
mm::MMBondLengthLibrary
const
&
get_MMBondLengthLibrary
()
const
;
161
162
nv::NVlookup
const
&
get_NVLookupTable
()
const
;
163
core::scoring::orbitals::OrbitalsLookup
const
&
get_OrbitalsLookupTable
()
const
;
164
165
166
167
interface::DDPlookup
const
&
get_DDPLookupTable
()
const
;
168
169
P_AA
const
&
get_P_AA
()
const
;
170
171
UnfoldedStatePotential
const
&
get_UnfoldedStatePotential
(
std::string
const
& type )
const
;
172
173
WaterAdductHBondPotential
const
&
get_WaterAdductHBondPotential
()
const
;
174
175
MembranePotential
const
&
get_MembranePotential
()
const
;
176
177
Membrane_FAPotential
const
&
get_Membrane_FAPotential
()
const
;
//pba
178
179
PoissonBoltzmannPotential
const
&
get_PoissonBoltzmannPotential
()
const
;
180
181
disulfides::FullatomDisulfidePotential
&
182
get_FullatomDisulfidePotential
()
const
;
183
184
disulfides::CentroidDisulfidePotential
&
185
get_CentroidDisulfidePotential
()
const
;
186
187
disulfides::DisulfideMatchingPotential
&
188
get_DisulfideMatchingPotential
()
const
;
189
190
//pack::dunbrack::SingleResidueRotamerLibraryCAP
191
//get_NCAARotamerLibrary( chemical::ResidueType const & rsd_type );
192
193
///
194
methods::EnergyMethodOP
195
energy_method
(
ScoreType
const
&
t
,
methods::EnergyMethodOptions
const
& options )
const
;
196
197
///
198
void
199
add_etable
(
std::string
const
& name,
etable::EtableOP
etable
);
200
201
//XRW_B_T1
202
/*
203
///
204
void
205
add_coarse_etable( std::string const & name, coarse::CoarseEtableOP etable );
206
*/
207
//XRW_E_T1
208
209
///pba
210
void
211
add_memb_etable
(
std::string
const
& name,
etable::MembEtableOP
etable );
212
213
///pba
214
etable::MembEtableCAP
215
memb_etable
(
std::string
const
& table_id )
const
;
216
217
///
218
etable::EtableCAP
219
etable
(
std::string
const
& etable_id )
const
;
220
221
//XRW_B_T1
222
/*
223
///
224
coarse::CoarseEtableCAP
225
coarse_etable( std::string const & etable_id ) const;
226
*/
227
//XRW_E_T1
228
229
private
:
230
231
static
ScoringManager
*
instance_
;
232
233
//private constructor
234
ScoringManager
();
235
~ScoringManager
();
236
237
// WARNING -- if you add something here don't forget to initialize to 0 in the constructor
238
mutable
PairEPotentialOP
pairE_potential_
;
239
//mutable RotamerLibrary * rotamer_Library_;
240
mutable
RamachandranOP
rama_
;
241
mutable
Ramachandran2BOP
rama2b_
;
242
mutable
OmegaTetherOP
omega_
;
243
mutable
EnvPairPotentialOP
env_pair_potential_
;
244
mutable
SmoothEnvPairPotentialOP
smooth_env_pair_potential_
;
245
mutable
CenHBPotentialOP
cen_hb_potential_
;
246
mutable
SecondaryStructurePotentialOP
secondary_structure_potential_
;
247
mutable
std::map< std::string, AtomVDWOP >
atom_vdw_
;
248
mutable
rna::RNA_AtomVDWOP
rna_atom_vdw_
;
249
mutable
geometric_solvation::DatabaseOccSolEneOP
occ_hbond_sol_database_
;
250
mutable
dna::DirectReadoutPotentialOP
dna_dr_potential_
;
251
mutable
mm::MMLJLibraryOP
mm_lj_library_
;
252
mutable
mm::MMLJEnergyTableOP
mm_lj_energy_table_
;
253
mutable
mm::MMTorsionLibraryOP
mm_torsion_library_
;
254
mutable
mm::MMBondAngleLibraryOP
mm_bondangle_library_
;
255
mutable
mm::MMBondLengthLibraryOP
mm_bondlength_library_
;
256
//P_AA Paa_ppPotential_;
257
mutable
dna::DNABFormPotential
*
dnabform_
;
258
mutable
dna::DNATorsionPotential
*
dna_torsion_potential_
;
259
mutable
dna::DNA_BasePotentialOP
DNA_base_potential_
;
260
mutable
carbon_hbonds::CarbonHBondPotentialOP
carbon_hbond_potential_
;
261
mutable
rna::RNA_LowResolutionPotentialOP
rna_low_resolution_potential_
;
262
mutable
rna::RNA_TorsionPotentialOP
rna_torsion_potential_
;
263
mutable
rna::chemical_shift::RNA_ChemicalShiftPotential
*
rna_chemical_shift_potential_
;
264
mutable
P_AAOP
p_aa_
;
265
mutable
WaterAdductHBondPotentialOP
water_adduct_hbond_potential_
;
266
mutable
GenBornPotentialOP
gen_born_potential_
;
267
mutable
disulfides::FullatomDisulfidePotentialOP
fa_disulfide_potential_
;
268
mutable
disulfides::CentroidDisulfidePotentialOP
cen_disulfide_potential_
;
269
mutable
disulfides::DisulfideMatchingPotentialOP
disulfide_matching_potential_
;
270
mutable
MembranePotentialOP
membrane_potential_
;
271
mutable
Membrane_FAPotentialOP
membrane_fapotential_
;
//pba
272
mutable
PoissonBoltzmannPotentialOP
PB_potential_
;
273
//ReferenceEnergyPotential referenceEnergyPotential_;
274
mutable
UnfoldedStatePotentialOP
unf_state_
;
275
mutable
nv::NVlookupOP
NV_lookup_table_
;
276
mutable
orbitals::OrbitalsLookupOP
orbitals_lookup_table_
;
277
278
279
mutable
interface::DDPlookupOP
DDP_lookup_table_
;
280
// data
281
mutable
std::map< std::string, etable::EtableOP >
etables_
;
282
//XRW_B_T1
283
//mutable std::map< std::string, coarse::CoarseEtableOP > coarse_etables_;
284
//XRW_E_T1
285
mutable
std::map< std::string, etable::MembEtableOP >
memb_etables_
;
//pba
286
287
288
// NCAA rot lib map
289
/// mutable std::map< std::string, pack::dunbrack::SingleResidueRotamerLibraryCOP > ncaa_rotlibs_;
290
291
utility::vector1< methods::EnergyMethodCreatorOP >
method_creator_map_
;
292
293
};
294
}
// namespace core
295
}
// namespace scoring
296
297
298
#endif
Generated on Sat Jun 1 2013 11:40:16 for Rosetta 3.5 by
1.8.4