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
KinematicTaskControl.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 KinematicTaskCenter
11
/// @brief this class will be handled to a SampleProtocol as a control instance
12
/// @detailed responsibilities:
13
/// know which chainbreaks to penalize and close
14
/// know which jumps to use during sampling, which (if any) to keep after loop-closing
15
/// supply a JumpMover if jumps should be moved
16
/// supply a MoveMap
17
/// supply a "StrictMoveMap": the protocol should not move anything that is dissallowed in strict_movemap(),
18
/// it should try to move just stuff in movemap()
19
/// should this class also know how to ramp score terms ?
20
/// handle the titration of constraints ?
21
/// @author Oliver Lange
22
23
24
#ifndef INCLUDED_protocols_abinitio_KinematicTaskControl_hh
25
#define INCLUDED_protocols_abinitio_KinematicTaskControl_hh
26
27
// Unit Headers
28
#include <
protocols/abinitio/KinematicTaskControl.fwd.hh
>
29
30
// Package Headers
31
// AUTO-REMOVED #include <protocols/jumping/JumpSetup.hh>
32
#include <
protocols/abinitio/KinematicControl.hh
>
33
#include <
protocols/abinitio/Protocol.hh
>
34
#include <
protocols/checkpoint/CheckPointer.hh
>
35
#include <
protocols/abinitio/ResolutionSwitcher.hh
>
36
37
// Project Headers
38
#include <
core/types.hh
>
39
#include <
core/pose/Pose.fwd.hh
>
40
41
// AUTO-REMOVED #include <protocols/loops/Loops.hh>
42
43
// ObjexxFCL Headers
44
//#include <ObjexxFCL/FArray1D.hh>
45
//#include <ObjexxFCL/FArray2D.hh>
46
47
// Utility headers
48
// AUTO-REMOVED #include <utility/vector1.hh>
49
#include <utility/pointer/ReferenceCount.hh>
50
51
//// C++ headers
52
// AUTO-REMOVED #include <cstdlib>
53
#include <string>
54
55
#include <
protocols/loops/Loops.fwd.hh
>
56
#include <utility/vector1.hh>
57
58
59
60
namespace
protocols {
61
namespace
abinitio {
62
63
class
KinematicTaskControl
:
public
Protocol
{
64
public
:
65
KinematicTaskControl
() :
66
current_kinematics_
( NULL ),
67
sampling_protocol_
( NULL )
68
{
69
return_centroid
(
false
);
//default
70
}
71
72
KinematicTaskControl
(
ProtocolOP
sampler ) :
73
sampling_protocol_
( sampler )
74
{
75
return_centroid
(
false
);
//default
76
}
77
78
~KinematicTaskControl
();
79
80
//@brief generate a new KinematicControl object
81
virtual
KinematicControlOP
new_kinematics
(
core::pose::Pose
&pose ) = 0;
82
83
virtual
void
apply
(
core::pose::Pose
&pose );
84
virtual
std::string
get_name
()
const
;
85
86
virtual
void
init
(
core::pose::Pose
const
& pose );
87
88
KinematicControlOP
current_kinematics
() {
89
runtime_assert(
current_kinematics_
);
90
return
current_kinematics_
;
91
}
92
93
void
set_input_pose_is_fa
(
bool
setting =
true
) {
94
b_input_is_fullatom_
= setting;
95
}
96
97
// virtual StructureStore const& structure_store() const {
98
// return sampling_protocol_->structure_store();
99
// }
100
101
// virtual StructureStore& structure_store() {
102
// return sampling_protocol_->structure_store();
103
// }
104
105
ProtocolOP
sampling_protocol
() {
106
return
sampling_protocol_
;
107
}
108
109
virtual
checkpoint::CheckPointer
&
get_checkpoints
() {
return
sampling_protocol_
->get_checkpoints(); }
110
111
protected
:
112
virtual
bool
inner_loop
(
core::pose::Pose
&pose );
113
mutable
KinematicControlOP
current_kinematics_
;
114
void
set_extended_torsions_and_idealize_loops
(
core::pose::Pose
& pose,
loops::Loops
loops )
const
;
115
ResolutionSwitcher
&
res_switch
() {
116
return
*
res_switch_
;
117
}
118
119
private
:
120
ResolutionSwitcherOP
res_switch_
;
121
ProtocolOP
sampling_protocol_
;
122
bool
b_input_is_fullatom_
;
123
};
124
125
126
127
}
128
}
129
130
#endif
Generated on Sat Jun 1 2013 11:41:35 for Rosetta 3.5 by
1.8.4