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
protocols
fldsgn
potentials
sspot
NatbiasSecondaryStructureEnergy.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 ./src/protocols/fldsgn/potentials/sspot/NatbiasSecondaryStructureEnergy.hh
11
/// @brief native biased centroid score for secondary structure
12
/// @author Nobuyasu Koga ( nobuyasau@uw.edu )
13
14
15
#ifndef INCLUDED_protocols_fldsgn_potentials_sspot_NatbiasSecondaryStructureEnergy_HH
16
#define INCLUDED_protocols_fldsgn_potentials_sspot_NatbiasSecondaryStructureEnergy_HH
17
18
// Unit Headers
19
#include <
protocols/fldsgn/potentials/sspot/NatbiasSecondaryStructureEnergy.fwd.hh
>
20
// AUTO-REMOVED #include <protocols/fldsgn/potentials/sspot/NatbiasStrandPairPotential.hh>
21
// AUTO-REMOVED #include <protocols/fldsgn/potentials/sspot/NatbiasHelixPairPotential.hh>
22
// AUTO-REMOVED #include <protocols/fldsgn/potentials/sspot/NatbiasHelicesSheetPotential.hh>
23
24
// Package headers
25
#include <
core/scoring/methods/WholeStructureEnergy.hh
>
26
#include <
protocols/fldsgn/topology/HelixPairing.fwd.hh
>
27
#include <
protocols/fldsgn/topology/HSSTriplet.fwd.hh
>
28
#include <
protocols/fldsgn/topology/StrandPairing.fwd.hh
>
29
30
// Project headers
31
#include <
core/pose/Pose.fwd.hh
>
32
#include <
core/scoring/ScoreFunction.fwd.hh
>
33
#include <
core/scoring/methods/EnergyMethod.fwd.hh
>
34
#include <
core/scoring/EnergyMap.fwd.hh
>
35
36
#include <
protocols/fldsgn/potentials/sspot/NatbiasHelicesSheetPotential.fwd.hh
>
37
#include <
protocols/fldsgn/potentials/sspot/NatbiasHelixPairPotential.fwd.hh
>
38
#include <
protocols/fldsgn/potentials/sspot/NatbiasStrandPairPotential.fwd.hh
>
39
#include <utility/vector1.hh>
40
41
42
// Utility headers
43
44
45
namespace
protocols {
46
namespace
fldsgn {
47
namespace
potentials {
48
namespace
sspot {
49
50
/// @brief NatbiasSecondaryStructureEnergy
51
class
NatbiasSecondaryStructureEnergy
:
public
core::scoring::methods::WholeStructureEnergy
{
52
public
:
53
54
55
typedef
core::scoring::methods::WholeStructureEnergy
parent
;
56
57
58
public
:
// typedef
59
60
61
typedef
std::string
String
;
62
typedef
core::Real
Real
;
63
typedef
core::Distance
Distance
;
64
typedef
core::pose::Pose
Pose
;
65
typedef
core::scoring::EnergyMap
EnergyMap
;
66
typedef
core::scoring::ScoreFunction
ScoreFunction
;
67
typedef
core::scoring::methods::EnergyMethodOP
EnergyMethodOP
;
68
69
typedef
protocols::fldsgn::topology::StrandPairingSetOP
StrandPairingSetOP
;
70
typedef
protocols::fldsgn::topology::HelixPairingSetOP
HelixPairingSetOP
;
71
typedef
protocols::fldsgn::topology::HSSTripletSetOP
HSSTripletSetOP
;
72
73
typedef
protocols::fldsgn::potentials::sspot::NatbiasHelixPairPotentialOP
NatbiasHelixPairPotentialOP
;
74
typedef
protocols::fldsgn::potentials::sspot::NatbiasHelicesSheetPotentialOP
NatbiasHelicesSheetPotentialOP
;
75
typedef
protocols::fldsgn::potentials::sspot::NatbiasStrandPairPotentialOP
NatbiasStrandPairPotentialOP
;
76
77
78
public
:
// constructor/destructor
79
80
81
/// @brief default constructor
82
NatbiasSecondaryStructureEnergy
();
83
84
/// @brief copy constructor
85
NatbiasSecondaryStructureEnergy
(
NatbiasSecondaryStructureEnergy
const
& src );
86
87
/// @brief clone
88
virtual
EnergyMethodOP
clone
()
const
;
89
90
91
public
:
// mutator
92
93
94
/// @brief set native secondary structure
95
void
native_secstruct
(
String
const
& secstruct );
96
97
/// @brief set NatbiasStrandPairPotential
98
void
set_natbias_spairpot
(
StrandPairingSetOP
const
spairset );
99
100
/// @brief set NatbiasHelixPairPotential
101
void
set_natbias_hpairpot
(
HelixPairingSetOP
const
hpairset );
102
103
/// @brief set NatbiasHelicesSheetPotential
104
void
set_natbias_helices_sheet_pot
(
HSSTripletSetOP
const
hss3set );
105
106
107
public
:
// mutator
108
109
110
/// @brief set native NatbiasStrandPairPotential
111
void
set_natbias_spairpot
(
NatbiasStrandPairPotentialOP
const
sspot );
112
113
/// @brief set NatbiasHelixPairPotential
114
void
set_natbias_hpairpot
(
NatbiasHelixPairPotentialOP
const
hhpot );
115
116
/// @brief set NatbiasHelicesSheetPotential
117
void
set_natbias_helices_sheet_pot
(
NatbiasHelicesSheetPotentialOP
const
hspot );
118
119
120
public
:
//
121
122
123
/// @brief use use original secondary structure potential
124
void
use_nobias
(
bool
const
b
) {
use_nobias_
=
b
; }
125
126
127
public
:
128
129
/// @brief scoring
130
virtual
void
setup_for_scoring
(
Pose
& pose,
ScoreFunction
const
& scorefxn )
const
;
131
132
/// @brief scoring
133
virtual
void
finalize_total_energy
(
Pose
& pose,
ScoreFunction
const
&,
EnergyMap
& totals )
const
;
134
135
/// @brief The NatbiasSecondaryStructureEnergy class requires that the EnergyGraph
136
/// span 12 Angstroms between centroids. The centroids residues build-in a
137
/// 3 Angstrom radius each.
138
virtual
Distance
atomic_interaction_cutoff
()
const
;
139
140
/// @brief
141
virtual
void
indicate_required_context_graphs
(
utility::vector1< bool >
& context_graphs_required )
const
;
142
143
/// @brief
144
virtual
Size
version
()
const
;
145
146
private
:
147
148
149
/// @brief native secondary structure
150
String
native_secstruct_
;
151
152
/// @brief Is NatbiasStrandPairPotential to be used ?
153
bool
use_sspot_
;
154
155
/// @brief Is NatbiasHelixPairPotential to be used ?
156
bool
use_hhpot_
;
157
158
/// @brief Is NatbiasHelicesSheetPotential to be used ?
159
bool
use_hspot_
;
160
161
/// @brief use original secondary structure potential if this is true
162
bool
use_nobias_
;
163
164
165
private
:
// mutable variables
166
167
168
/// @brief pointer of NatbiasStrandPairPotential
169
NatbiasStrandPairPotentialOP
sspot_
;
170
171
/// @brief pointer of NatbiasHelixPairPotential
172
NatbiasHelixPairPotentialOP
hhpot_
;
173
174
/// @brief pointer of NatbiasHeliceesSheetPotential
175
NatbiasHelicesSheetPotentialOP
hspot_
;
176
177
178
};
179
180
181
}
// namespace sspot
182
}
// namespace potentials
183
}
// namespace fldsgn
184
}
// namespace protocols
185
186
#endif
Generated on Sat Jun 1 2013 11:50:05 for Rosetta 3.5 by
1.8.4