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
pack
task
operation
OptH.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/pack/task/operation/OptH.hh
11
/// @brief run optH
12
/// @author Yih-En Andrew Ban (yab@u.washington.edu)
13
14
#ifndef INCLUDED_core_pack_task_operation_OptH_hh
15
#define INCLUDED_core_pack_task_operation_OptH_hh
16
17
// unit headers
18
#include <
core/pack/task/operation/OptH.fwd.hh
>
19
20
// type headers
21
#include <
core/types.hh
>
22
23
// project headers
24
#include <
core/pack/task/operation/TaskOperation.hh
>
25
#include <
core/pose/Pose.fwd.hh
>
26
27
// utility headers
28
// AUTO-REMOVED #include <utility/vector1.hh>
29
30
31
32
#include <utility/vector1.hh>
33
34
35
36
namespace
core {
37
namespace
pack {
38
namespace
task {
39
namespace
operation {
40
41
42
/// @brief run optH; disallowed positions may be set to prevent optimization for those residues
43
class
OptH
:
public
core::pack::task::operation::TaskOperation
{
44
45
46
private
:
// typedefs
47
48
49
typedef
core::pack::task::operation::TaskOperation
Super
;
50
51
52
public
:
// typedefs
53
54
55
typedef
core::Size
Size
;
56
typedef
core::pack::task::PackerTask
PackerTask
;
57
typedef
core::pack::task::operation::TaskOperationOP
TaskOperationOP
;
58
typedef
core::pose::Pose
Pose
;
59
60
61
public
:
// construct/destruct
62
63
64
/// @brief default constructor
65
OptH
();
66
67
68
/// @brief copy constructor
69
OptH
(
OptH
const
& rval );
70
71
72
/// @brief default destructor
73
virtual
~OptH
();
74
75
76
public
:
// virtual constructors
77
78
79
/// @brief clone this object
80
virtual
TaskOperationOP
clone
()
const
;
81
82
83
public
:
// methods
84
85
86
/// @brief apply operations to PackerTask
87
virtual
void
apply
(
Pose
const
& ,
PackerTask
& task )
const
;
88
89
90
/// @brief prevent a position from being optimized
91
void
disallow_resid
(
Size
const
resid );
92
93
94
/// @brief init flags from command line? (default true)
95
void
init_from_comand_line
(
bool
const
flag );
96
97
98
/// @brief include current sidechain rotamers? (default true)
99
void
include_current
(
bool
const
flag );
100
101
102
/// @brief allow sidechain flips of HNQ? (default false)
103
void
flip_HNQ
(
bool
const
flag );
104
105
106
/// @brief use multicool annealer? (default false)
107
void
use_multicool_annealer
(
bool
const
flag );
108
109
110
private
:
// data
111
112
113
/// @brief prevent these positions from being optimized
114
utility::vector1< Size >
disallowed_resids_
;
115
116
/* the following settings are the same as those in in core::pack::optimizeH() */
117
118
/// @brief init flags from command line? (default true)
119
bool
init_from_command_line_
;
120
121
122
/// @brief include current sidechain rotamers? (default true)
123
bool
include_current_
;
124
125
126
/// @brief allow sidechain flips of HNQ? (default false)
127
bool
flip_HNQ_
;
128
129
130
/// @brief use multicool annealer? (default false)
131
bool
use_multicool_annealer_
;
132
133
134
};
135
136
137
}
// namespace operation
138
}
// namespace task
139
}
// namespace pack
140
}
// namespace core
141
142
143
#endif
/* INCLUDED_core_pack_task_operation_OptH_HH */
Generated on Sat Jun 1 2013 11:33:50 for Rosetta 3.5 by
1.8.4