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
NMerRefEnergy.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/NMerRefEnergy.hh
11
/// @brief Reference energy method declaration
12
/// @author Chris King
13
14
15
#ifndef INCLUDED_core_scoring_methods_NMerRefEnergy_hh
16
#define INCLUDED_core_scoring_methods_NMerRefEnergy_hh
17
18
// Unit headers
19
#include <
core/scoring/methods/NMerRefEnergy.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
#include <basic/Tracer.hh>
32
#include <map>
33
34
35
// Utility headers
36
37
38
namespace
core {
39
namespace
scoring {
40
namespace
methods {
41
42
class
NMerRefEnergy
:
public
ContextIndependentOneBodyEnergy
43
{
44
public
:
45
typedef
ContextIndependentOneBodyEnergy
parent
;
46
47
public
:
48
49
///
50
NMerRefEnergy
();
51
52
///
53
NMerRefEnergy
( std::map< std::string, core::Real >
const
& nmer_ref_energies_in );
54
55
///
56
virtual
~NMerRefEnergy
();
57
58
virtual
59
EnergyMethodOP
60
clone
()
const
;
61
62
/////////////////////////////////////////////////////////////////////////////
63
// methods for ContextIndependentOneBodyEnergies
64
/////////////////////////////////////////////////////////////////////////////
65
66
///
67
virtual
68
void
69
residue_energy
(
70
conformation::Residue
const
& rsd,
71
pose::Pose
const
& pose,
72
EnergyMap
& emap
73
)
const
;
74
75
bool
76
minimize_in_whole_structure_context
(
pose::Pose
const
& )
const
{
return
false
; }
77
78
///
79
virtual
80
Real
81
eval_dof_derivative
(
82
id::DOF_ID
const
& dof_id,
83
id::TorsionID
const
& tor_id,
84
pose::Pose
const
& pose,
85
ScoreFunction
const
& sfxn,
86
EnergyMap
const
& weights
87
)
const
;
88
89
/// @brief DunbrackEnergy is context independent; indicates that no
90
/// context graphs are required
91
virtual
92
void
indicate_required_context_graphs
(
utility::vector1< bool >
& )
const
;
93
94
95
//methods to init from outside (for filter construction)
96
void
nmer_length
(
Size
const
nmer_length
);
97
void
initialize_from_options
();
98
99
private
:
100
std::map< std::string, core::Real >
nmer_ref_energies_
;
101
core::Size
nmer_length_
;
102
core::Size
nmer_cterm_
;
103
104
void
read_nmer_table
(
std::string
const
ref_fname );
105
void
read_nmer_table_list
(
std::string
const
ref_list_fname );
106
void
read_nmer_tables_from_options
();
107
virtual
108
core::Size
version
()
const
;
109
};
110
111
}
// methods
112
}
// scoring
113
}
// core
114
115
116
#endif
Generated on Sat Jun 1 2013 11:38:31 for Rosetta 3.5 by
1.8.4