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
AACompositionEnergy.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
11
/// @brief amino acid composition energy
12
/// @author Nobuyasu Koga
13
14
15
#ifndef INCLUDED_protocols_fldsgn_potentials_AACompositionEnergy_HH
16
#define INCLUDED_protocols_fldsgn_potentials_AACompositionEnergy_HH
17
18
// Unit Headers
19
#include <
protocols/fldsgn/potentials/AACompositionEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/methods/ContextDependentOneBodyEnergy.hh
>
23
24
// Project headers
25
#include <
core/chemical/AA.hh
>
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
core/scoring/ScoreFunction.fwd.hh
>
28
#include <
core/scoring/ScoreType.hh
>
29
#include <
core/scoring/EnergyMap.fwd.hh
>
30
#include <
core/types.hh
>
31
#include <
core/id/TorsionID.fwd.hh
>
32
#include <
core/id/DOF_ID.fwd.hh
>
33
#include <
core/scoring/methods/EnergyMethod.fwd.hh
>
34
35
// Utility headers
36
#include <map>
37
38
#include <utility/vector1.hh>
39
40
41
namespace
protocols {
42
namespace
fldsgn {
43
namespace
potentials {
44
45
/// @brief AACompositionEnergy
46
class
AACompositionEnergy
:
public
core::scoring::methods::ContextDependentOneBodyEnergy
{
47
public
:
48
49
typedef
core::scoring::methods::ContextDependentOneBodyEnergy
parent
;
50
51
public
:
// typedef
52
53
54
//typedef std::string String;
55
typedef
core::chemical::AA
AA
;
56
typedef
core::conformation::Residue
Residue
;
57
typedef
core::Real
Real
;
58
typedef
core::pose::Pose
Pose
;
59
typedef
core::scoring::EnergyMap
EnergyMap
;
60
typedef
core::scoring::ScoreFunction
ScoreFunction
;
61
typedef
core::scoring::ScoreTypes
ScoreTypes
;
62
typedef
core::scoring::methods::EnergyMethodOP
EnergyMethodOP
;
63
64
65
public
:
// constructor/destructor
66
67
68
/// @brief default constructor
69
AACompositionEnergy
();
70
71
/// @brief value constructor
72
AACompositionEnergy
( std::map<
AA
, std::pair< Real, Real > >
const
& comp_constraint_aas );
73
74
/// @brief copy constructor
75
AACompositionEnergy
(
AACompositionEnergy
const
& src );
76
77
/// @brief destructor
78
virtual
~AACompositionEnergy
();
79
80
/// @brief clone
81
virtual
EnergyMethodOP
clone
()
const
;
82
83
84
private
:
85
86
void
initialize
();
87
88
public
:
// mutator
89
90
91
void
set_comp_constraint_aa
( std::map<
AA
, std::pair< Real, Real > >
const
& comp_constraint_aas );
92
93
94
public
:
95
96
/////////////////////////////////////////////////////////////////////////////
97
// methods for ContextDependentOneBodyEnergies
98
/////////////////////////////////////////////////////////////////////////////
99
100
virtual
101
void
102
residue_energy
(
103
Residue
const
& rsd,
104
Pose
const
& pose,
105
EnergyMap
& emap
106
)
const
;
107
108
109
/// @brief scoring
110
// virtual void setup_for_scoring( Pose &, ScoreFunction const & ) const;
111
112
/// @brief scoring
113
// virtual void finalize_total_energy( Pose & pose, ScoreFunction const &, EnergyMap & totals ) const;
114
115
116
/// @brief DunbrackEnergy is context independent; indicates that no
117
/// context graphs are required
118
virtual
119
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
120
121
virtual
122
Size
version
()
const
{
return
1; }
123
124
125
private
:
126
127
/// @brief
128
std::map< AA, std::pair< Real, Real > >
comp_constraint_aas_
;
129
130
131
};
132
133
}
// namespace potentials
134
}
// namespace fldsgn
135
}
// namespace protocols
136
137
#endif // INCLUDED_protocols_fldsgn_AACompositionEnergy_HH
Generated on Sat Jun 1 2013 11:50:02 for Rosetta 3.5 by
1.8.4