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
etable
count_pair
CountPairIntraResC4.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/etable/count_pair/CountPairIntraResC4.hh
11
/// @brief Count pair for residue pairs connected with one bond, where the
12
/// crossover from excluding to counting atom pair interactions is at 4 bonds.
13
/// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
14
15
16
#ifndef INCLUDED_core_scoring_etable_count_pair_CountPairIntraResC4_hh
17
#define INCLUDED_core_scoring_etable_count_pair_CountPairIntraResC4_hh
18
19
#include <
core/scoring/etable/count_pair/CountPairCrossover4.hh
>
20
21
#include <
core/types.hh
>
22
#include <
core/conformation/Atom.hh
>
23
24
namespace
core {
25
namespace
scoring {
26
namespace
etable {
27
namespace
count_pair {
28
29
class
CountPairIntraResC4
:
public
CountPairCrossover4
30
{
31
public
:
32
public
:
33
typedef
CountPairCrossover4
parent
;
34
35
public
:
36
CountPairIntraResC4
(
37
conformation::Residue
const
& res1
38
);
39
40
virtual
~CountPairIntraResC4
();
41
42
///@brief function required by templated functions in atom_pair_energy_inline
43
inline
44
bool
45
operator ()
(
46
int
const
at1,
47
int
const
at2,
48
Real
& weight,
49
Size
& path_dist
50
)
const
51
{
52
path_dist =
path_dists_
[ at1 ][ at2 ];
53
return
count_at_path_distance
( path_dist, weight );
54
}
55
56
virtual
57
bool
58
count
(
59
int
const
at1,
60
int
const
at2,
61
Real
&,
62
Size
& path_dist
63
)
const
;
64
65
/// Type Resolution Functions ///
66
67
virtual
68
void
69
residue_atom_pair_energy
(
70
conformation::Residue
const
& res1,
71
conformation::Residue
const
& res2,
72
etable::TableLookupEvaluator
const
&,
73
EnergyMap
&
74
)
const
;
75
76
77
virtual
78
void
79
residue_atom_pair_energy_sidechain_backbone
(
80
conformation::Residue
const
&,
81
conformation::Residue
const
&,
82
etable::TableLookupEvaluator
const
&,
83
EnergyMap
&
84
)
const
;
85
86
87
virtual
88
void
89
residue_atom_pair_energy_sidechain_whole
(
90
conformation::Residue
const
&,
91
conformation::Residue
const
&,
92
etable::TableLookupEvaluator
const
&,
93
EnergyMap
&
94
)
const
;
95
96
virtual
97
void
98
residue_atom_pair_energy
(
99
conformation::Residue
const
& res1,
100
conformation::Residue
const
& res2,
101
etable::AnalyticEtableEvaluator
const
&,
102
EnergyMap
&
103
)
const
;
104
105
106
virtual
107
void
108
residue_atom_pair_energy_sidechain_backbone
(
109
conformation::Residue
const
&,
110
conformation::Residue
const
&,
111
etable::AnalyticEtableEvaluator
const
&,
112
EnergyMap
&
113
)
const
;
114
115
116
virtual
117
void
118
residue_atom_pair_energy_sidechain_whole
(
119
conformation::Residue
const
&,
120
conformation::Residue
const
&,
121
etable::AnalyticEtableEvaluator
const
&,
122
EnergyMap
&
123
)
const
;
124
125
private
:
126
utility::vector1< utility::vector1< int >
>
const
&
path_dists_
;
127
128
};
129
130
}
// namespace count_pair
131
}
// namespace etable
132
}
// namespace scoring
133
}
// namespace core
134
135
#endif
Generated on Sat Jun 1 2013 11:36:47 for Rosetta 3.5 by
1.8.4