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
methods
P_AA_pp_Energy.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/methods/P_AA_pp_Energy.hh
11
/// @brief Probability of observing an amino acid, given its phi/psi energy method declaration
12
/// @author Andrew Leaver-Fay
13
14
15
#ifndef INCLUDED_core_scoring_methods_P_AA_pp_Energy_hh
16
#define INCLUDED_core_scoring_methods_P_AA_pp_Energy_hh
17
18
// Unit headers
19
#include <
core/scoring/methods/P_AA_pp_Energy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/methods/ContextIndependentOneBodyEnergy.hh
>
23
#include <
core/scoring/P_AA.fwd.hh
>
24
#include <
core/scoring/ScoreFunction.fwd.hh
>
25
26
#include <
core/scoring/MinimizationData.fwd.hh
>
27
28
// Project headers
29
#include <
core/pose/Pose.fwd.hh
>
30
#include <
core/conformation/Residue.fwd.hh
>
31
#include <
core/id/DOF_ID.fwd.hh
>
32
33
#include <utility/vector1.hh>
34
35
36
37
namespace
core {
38
namespace
scoring {
39
namespace
methods {
40
41
///
42
class
P_AA_pp_Energy
:
public
ContextIndependentOneBodyEnergy
{
43
public
:
44
typedef
ContextIndependentOneBodyEnergy
parent
;
45
46
public
:
47
48
/// ctor
49
P_AA_pp_Energy
();
50
51
/// clone
52
virtual
53
EnergyMethodOP
54
clone
()
const
;
55
56
/////////////////////////////////////////////////////////////////////////////
57
// methods for ContextIndependentOneBodyEnergies
58
/////////////////////////////////////////////////////////////////////////////
59
60
///
61
virtual
62
void
63
residue_energy
(
64
conformation::Residue
const
& rsd,
65
pose::Pose
const
& pose,
66
EnergyMap
& emap
67
)
const
;
68
69
bool
70
minimize_in_whole_structure_context
(
pose::Pose
const
& )
const
{
return
false
; }
71
72
/// @brief The P_AA_pp energy function describes derivatives wrt phi and psi.
73
virtual
74
bool
75
defines_dof_derivatives
(
pose::Pose
const
& p )
const
;
76
77
/// @brief Evaluate the P_AA_pp DOF derivative for a particular residue.
78
virtual
79
Real
80
eval_residue_dof_derivative
(
81
conformation::Residue
const
& rsd,
82
ResSingleMinimizationData
const
& min_data,
83
id::DOF_ID
const
& dof_id,
84
id::TorsionID
const
& torsion_id,
85
pose::Pose
const
& pose,
86
ScoreFunction
const
& sfxn,
87
EnergyMap
const
& weights
88
)
const
;
89
90
91
/// @brief APL Deprecated 6.29.2010
92
virtual
93
Real
94
eval_dof_derivative
(
95
id::DOF_ID
const
& dof_id,
96
id::TorsionID
const
& tor_id,
97
pose::Pose
const
& pose,
98
ScoreFunction
const
& sfxn,
99
EnergyMap
const
& weights
100
)
const
;
101
102
/// @brief P_AA_pp_Energy is context independent; indicates that no
103
/// context graphs are required
104
virtual
105
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
106
107
108
// data
109
private
:
110
P_AA
const
&
p_aa_
;
111
virtual
112
core::Size
version
()
const
;
113
114
};
115
116
}
// methods
117
}
// scoring
118
}
// core
119
120
121
#endif // INCLUDED_core_scoring_EtableEnergy_HH
Generated on Sat Jun 1 2013 11:38:35 for Rosetta 3.5 by
1.8.4