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
abinitio
Protocol.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 relax_initialization_protocols
11
/// @brief initialization protocols for relax
12
/// @detailed
13
/// Contains currently: Classic Abinitio
14
///
15
///
16
/// @author Oliver Lange
17
/// @author James Thompson
18
/// @author Mike Tyka
19
20
21
#ifndef INCLUDED_protocols_abinitio_Protocol_hh
22
#define INCLUDED_protocols_abinitio_Protocol_hh
23
24
25
// Unit Headers
26
#include <
protocols/abinitio/Protocol.fwd.hh
>
27
28
// Package Headers
29
#include <
protocols/moves/Mover.hh
>
30
#include <
protocols/evaluation/PoseEvaluator.hh
>
31
#include <
core/io/silent/silent.fwd.hh
>
32
#include <
protocols/abinitio/KinematicControl.hh
>
33
#include <
core/scoring/ScoreFunction.hh
>
34
35
// Project Headers
36
// AUTO-REMOVED #include <protocols/moves/BoolMover.hh>
37
#include <
protocols/checkpoint/CheckPointer.hh
>
38
#include <utility/vector1.hh>
39
#include <utility/exit.hh>
40
41
42
namespace
protocols {
43
namespace
abinitio {
44
45
class
Protocol
:
public
moves::Mover
{
46
public
:
47
typedef
Mover
BaseClass
;
48
// typedef utility::vector1 < core::pose::Pose > StructureStore;
49
50
Protocol
();
51
~Protocol
() {};
52
53
virtual
54
void
init
(
core::pose::Pose
const
& ) {};
55
/*{
56
bInitialized_ = true;
57
};*/
58
59
void
60
set_evaluation
(
evaluation::MetaPoseEvaluatorOP
ev );
61
62
void
63
add_evaluation
(
evaluation::PoseEvaluatorOP
ev );
64
65
void
66
evaluate_pose
(
core::pose::Pose
&pose,
std::string
tag,
core::io::silent::SilentStruct
&pss)
const
;
67
68
evaluation::MetaPoseEvaluatorOP
evaluator
() {
69
if
( !
evaluator_
) {
70
evaluator_
=
new
evaluation::MetaPoseEvaluator
;
71
}
72
return
evaluator_
;
73
}
74
75
virtual
void
output_debug_structure
(
core::pose::Pose
& pose,
std::string
prefix );
76
77
void
set_kinematics
(
abinitio::KinematicControlOP
kc ) {
78
kinematic_control_
= kc;
79
}
80
81
abinitio::KinematicControl
const
&
kinematics
() {
82
runtime_assert(
kinematic_control_
);
83
return
*
kinematic_control_
;
84
}
85
86
virtual
bool
start_from_centroid
()
const
{
87
return
true
;
88
}
89
90
virtual
bool
return_centroid
()
const
{
91
return
return_centroid_
;
92
}
93
94
virtual
void
return_centroid
(
bool
setting ) {
95
return_centroid_
= setting;
96
}
97
98
virtual
void
apply
(
core::pose::Pose
& );
99
virtual
std::string
get_name
()
const
;
100
101
// virtual StructureStore const& structure_store() const {
102
//return structure_store_;
103
// }
104
105
// virtual StructureStore& structure_store() {
106
// return structure_store_;
107
// }
108
109
void
set_fullatom_scorefxn
(
core::scoring::ScoreFunctionOP
sfxn ) {
110
scorefxn_fa_
= sfxn;
111
}
112
113
void
set_centroid_scorefxn
(
core::scoring::ScoreFunctionOP
sfxn ) {
114
scorefxn_centroid_
= sfxn;
115
}
116
117
void
set_silentout_file_name
(
std::string
str
) {
118
silentout_file_name_
=
str
;
119
}
120
121
core::scoring::ScoreFunctionOP
fullatom_scorefxn
() {
122
return
scorefxn_fa_
;
123
}
124
125
core::scoring::ScoreFunctionOP
centroid_scorefxn
() {
126
return
scorefxn_centroid_
;
127
}
128
129
static
void
register_options
();
130
131
private
:
132
checkpoint::CheckPointer
checkpoints_
;
133
134
public
:
135
virtual
checkpoint::CheckPointer
&
get_checkpoints
() {
return
checkpoints_
; }
136
137
138
private
:
139
evaluation::MetaPoseEvaluatorOP
evaluator_
;
140
abinitio::KinematicControlOP
kinematic_control_
;
141
//@brief initialized_ is true if init() has been called, false otherwise.
142
// bool bInitialized_;
143
144
// StructureStore structure_store_;
145
146
core::scoring::ScoreFunctionOP
scorefxn_fa_
;
//might be NULL
147
core::scoring::ScoreFunctionOP
scorefxn_centroid_
;
148
149
bool
return_centroid_
;
150
151
//fast fix until the new JobDist/Mover is introduced:
152
std::string
silentout_file_name_
;
153
154
};
155
156
}
157
}
158
159
#endif
Generated on Sat Jun 1 2013 11:41:47 for Rosetta 3.5 by
1.8.4