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
protocols
fldsgn
potentials
SetAACompositionPotential.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 protocols/forge/components/SetAACompositionPotential.hh
11
/// @brief
12
/// @author Nobuyasu Koga ( nobuyasu@u.washington.edu )
13
14
#ifndef INCLUDED_protocols_fldsgn_potentials_SetAACompositionPotential_HH
15
#define INCLUDED_protocols_fldsgn_potentials_SetAACompositionPotential_HH
16
17
// unit headers
18
#include <
protocols/fldsgn/potentials/SetAACompositionPotential.fwd.hh
>
19
// AUTO-REMOVED #include <protocols/fldsgn/potentials/AACompositionEnergy.fwd.hh>
20
21
// project headers
22
#include <
core/chemical/AA.hh
>
23
#include <
core/pose/Pose.fwd.hh
>
24
#include <
core/scoring/ScoreFunction.fwd.hh
>
25
#include <
protocols/moves/Mover.hh
>
26
27
// type headers
28
#include <
core/types.hh
>
29
30
// C++ headers
31
#include <map>
32
#include <string>
33
#include <utility/tag/Tag.fwd.hh>
34
35
#include <utility/vector1.hh>
36
37
38
namespace
protocols {
39
namespace
fldsgn {
40
namespace
potentials {
41
42
class
SetAACompositionPotential
:
public
protocols::moves::Mover
{
43
44
45
private
:
// typedefs
46
47
48
typedef
protocols::moves::Mover
Super
;
49
50
51
public
:
// typedefs
52
53
54
typedef
std::string
String
;
55
typedef
core::Real
Real
;
56
typedef
core::Size
Size
;
57
typedef
core::pose::Pose
Pose
;
58
typedef
core::chemical::AA
AA
;
59
typedef
core::scoring::ScoreFunction
ScoreFunction
;
60
typedef
core::scoring::ScoreFunctionOP
ScoreFunctionOP
;
61
typedef
protocols::moves::MoverOP
MoverOP
;
62
63
typedef
utility::tag::TagPtr
TagPtr
;
64
typedef
protocols::filters::Filters_map
Filters_map
;
65
typedef
protocols::moves::DataMap
DataMap
;
66
typedef
protocols::moves::Movers_map
Movers_map
;
67
68
69
public
:
// construct/destruct
70
71
72
/// @brief default constructor
73
SetAACompositionPotential
();
74
75
/// @brief copy constructor
76
SetAACompositionPotential
(
SetAACompositionPotential
const
& rval );
77
78
/// @brief default destructor
79
virtual
~SetAACompositionPotential
();
80
81
82
private
:
// disallow assignment
83
84
85
/// @brief copy assignment
86
/// @remarks Mover base class prevents this from working properly...
87
SetAACompositionPotential
&
operator =
(
SetAACompositionPotential
const
& rval );
88
89
90
public
:
// virtual constructors
91
92
93
/// @brief clone this object
94
virtual
95
MoverOP
clone
()
const
;
96
97
/// @brief create this type of object
98
virtual
99
MoverOP
fresh_instance
()
const
;
100
101
102
public
:
// virtual main methods
103
104
105
/// @brief apply defined moves to given Pose
106
virtual
107
void
apply
(
Pose
& );
108
109
virtual
110
std::string
get_name
()
const
;
111
112
113
public
:
//parser
114
115
116
/// @brief parse xml file
117
void
parse_my_tag
(
TagPtr
const
tag,
118
DataMap
& data,
119
Filters_map
const
&,
120
Movers_map
const
&,
121
Pose
const
& );
122
123
124
private
:
// helper functions
125
126
127
bool
set_parameters
(
String
const
& file );
128
129
130
private
:
// data
131
132
133
/// @brief
134
std::map< core::chemical::AA, std::pair< Real, Real > >
comp_constraint_aas_
;
135
136
/// @brief weight for composition constraints
137
Real
weight_
;
138
139
/// @brief scorefunction to use
140
ScoreFunctionOP
sfx_
;
141
142
/// @brief
143
bool
loaded_
;
144
145
146
};
147
148
}
// namespace potentials
149
}
// namespace fldsgn
150
}
// namespace protocols
151
152
153
#endif
/* INCLUDED_protocols_fldsgn_SetAACompositionPotential_HH */
Generated on Sat Jun 1 2013 11:50:02 for Rosetta 3.5 by
1.8.4