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