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
ReferenceEnergy.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/ReferenceEnergy.hh
11
/// @brief Reference energy method declaration
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
15
#ifndef INCLUDED_core_scoring_methods_ReferenceEnergy_hh
16
#define INCLUDED_core_scoring_methods_ReferenceEnergy_hh
17
18
// Unit headers
19
#include <
core/scoring/methods/ReferenceEnergy.fwd.hh
>
20
21
// Package headers
22
#include <
core/scoring/methods/ContextIndependentOneBodyEnergy.hh
>
23
#include <
core/scoring/ScoreFunction.fwd.hh
>
24
25
// Project headers
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
core/id/TorsionID.fwd.hh
>
28
#include <
core/id/DOF_ID.fwd.hh
>
29
30
#include <utility/vector1.hh>
31
32
33
34
// Utility headers
35
36
37
namespace
core {
38
namespace
scoring {
39
namespace
methods {
40
41
class
ReferenceEnergy
:
public
ContextIndependentOneBodyEnergy
42
{
43
public
:
44
typedef
ContextIndependentOneBodyEnergy
parent
;
45
46
public
:
47
48
///
49
ReferenceEnergy
();
50
51
///
52
ReferenceEnergy
(
utility::vector1< Real >
const
& aa_weights_in );
53
54
///
55
virtual
~ReferenceEnergy
();
56
57
virtual
58
EnergyMethodOP
59
clone
()
const
;
60
61
/////////////////////////////////////////////////////////////////////////////
62
// methods for ContextIndependentOneBodyEnergies
63
/////////////////////////////////////////////////////////////////////////////
64
65
///
66
virtual
67
void
68
residue_energy
(
69
conformation::Residue
const
& rsd,
70
pose::Pose
const
& pose,
71
EnergyMap
& emap
72
)
const
;
73
74
bool
75
minimize_in_whole_structure_context
(
pose::Pose
const
& )
const
{
return
false
; }
76
77
///
78
virtual
79
Real
80
eval_dof_derivative
(
81
id::DOF_ID
const
& dof_id,
82
id::TorsionID
const
& tor_id,
83
pose::Pose
const
& pose,
84
ScoreFunction
const
& sfxn,
85
EnergyMap
const
& weights
86
)
const
;
87
88
/// @brief DunbrackEnergy is context independent; indicates that no
89
/// context graphs are required
90
virtual
91
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
92
93
94
private
:
95
utility::vector1< Real >
aa_weights_
;
96
virtual
97
core::Size
version
()
const
;
98
99
};
100
101
}
// methods
102
}
// scoring
103
}
// core
104
105
106
#endif
Generated on Sat Jun 1 2013 11:38:48 for Rosetta 3.5 by
1.8.4