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
design_opt
ParetoOptMutationMover.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/design_opt/ParetoOptMutationMover.hh
11
/// @author Chris King (chrisk1@uw.edu)
12
13
#ifndef INCLUDED_protocols_design_opt_ParetoOptMutationMover_hh
14
#define INCLUDED_protocols_design_opt_ParetoOptMutationMover_hh
15
#include <
protocols/design_opt/ParetoOptMutationMover.fwd.hh
>
16
#include <
protocols/simple_filters/DeltaFilter.fwd.hh
>
17
#include <
core/types.hh
>
18
#include <
core/pose/Pose.hh
>
19
#include <utility/tag/Tag.fwd.hh>
20
#include <
protocols/filters/Filter.fwd.hh
>
21
#include <
protocols/moves/Mover.hh
>
22
#include <
core/pack/task/TaskFactory.fwd.hh
>
23
#include <
core/pack/task/PackerTask.fwd.hh
>
24
#include <
protocols/moves/DataMap.fwd.hh
>
25
#include <
core/scoring/ScoreFunction.fwd.hh
>
26
27
#include <utility/vector1.hh>
28
29
#include <
protocols/filters/Filter.hh
>
30
31
namespace
protocols {
32
namespace
design_opt{
33
34
class
ParetoOptMutationMover
:
public
protocols::moves::Mover
35
{
36
public
:
37
typedef
core::pose::Pose
Pose
;
38
public
:
39
ParetoOptMutationMover
();
40
ParetoOptMutationMover
(
41
core::pack::task::TaskFactoryOP
task_factory
,
42
core::scoring::ScoreFunctionOP
scorefxn
,
43
protocols::moves::MoverOP
relax_mover
,
44
utility::vector1< protocols::filters::FilterOP >
filters
,
45
utility::vector1< std::string >
sample_types
,
46
utility::vector1< core::Real >
filter_deltas
,
47
bool
dump_pdb
=
false
,
48
bool
dump_table
=
false
,
49
bool
parallel
=
false
,
50
bool
stop_before_condition
=
false
,
51
bool
skip_best_check
=
false
,
52
bool
rtmin
=
false
,
53
bool
shuffle_order
=
false
,
54
protocols::filters::FilterOP
stopping_condition
=
protocols::filters::FilterOP
( NULL )
55
);
56
57
void
apply
(
Pose
& pose );
58
protocols::moves::MoverOP
clone
()
const
;
59
virtual
std::string
get_name
()
const
;
60
protocols::moves::MoverOP
fresh_instance
()
const
{
return
protocols::moves::MoverOP
(
new
ParetoOptMutationMover
); }
61
62
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
protocols::filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
63
void
add_filter
(
64
protocols::filters::FilterOP
,
65
std::string
const
sample_type,
66
core::Real
filter_delta
67
);
68
virtual
~ParetoOptMutationMover
();
69
core::pack::task::TaskFactoryOP
task_factory
()
const
;
70
void
task_factory
(
core::pack::task::TaskFactoryOP
task_factory );
71
core::scoring::ScoreFunctionOP
scorefxn
()
const
;
72
void
scorefxn
(
core::scoring::ScoreFunctionOP
scorefxn );
73
utility::vector1< protocols::filters::FilterOP >
filters
()
const
;
74
void
filters
(
utility::vector1< protocols::filters::FilterOP >
filters );
75
protocols::moves::MoverOP
relax_mover
()
const
;
76
void
relax_mover
(
protocols::moves::MoverOP
relax_mover );
77
bool
dump_pdb
()
const
;
78
void
dump_pdb
(
bool
const
dump_pdb
);
79
bool
dump_table
()
const
;
80
void
dump_table
(
bool
const
dump_table
);
81
bool
parallel
()
const
;
82
void
parallel
(
bool
const
parallel
);
83
utility::vector1< std::string >
sample_types
()
const
;
84
void
sample_types
(
utility::vector1< std::string >
const
sample_types );
85
utility::vector1< core::Real >
filter_deltas
()
const
;
86
void
filter_deltas
(
utility::vector1< core::Real >
const
filter_deltas );
87
void
stopping_condition
(
protocols::filters::FilterOP
f ){
stopping_condition_
= f; }
88
protocols::filters::FilterOP
stopping_condition
()
const
{
return
stopping_condition_
; }
89
bool
stop_before_condition
()
const
;
90
void
stop_before_condition
(
bool
const
stop_before_condition
);
91
bool
skip_best_check
()
const
;
92
void
skip_best_check
(
bool
const
skip_best_check
);
93
utility::vector1< protocols::simple_filters::DeltaFilterOP >
delta_filters
()
const
;
94
void
delta_filters
(
utility::vector1< protocols::simple_filters::DeltaFilterOP >
const
d );
95
bool
rtmin
()
const
;
96
void
rtmin
(
bool
const
b
);
97
bool
shuffle_order
()
const
;
98
void
shuffle_order
(
bool
const
b
);
99
100
private
:
101
core::pack::task::TaskFactoryOP
task_factory_
;
102
core::scoring::ScoreFunctionOP
scorefxn_
;
103
utility::vector1< protocols::filters::FilterOP >
filters_
;
104
protocols::moves::MoverOP
relax_mover_
;
105
utility::vector1< std::string >
sample_types_
;
106
bool
dump_pdb_
;
107
bool
dump_table_
;
108
bool
parallel_
;
109
protocols::filters::FilterOP
stopping_condition_
;
// dflt NULL ; if defined, stops greedy optimization when the filter's apply evaluates to true;
110
utility::vector1
<
std::pair
<
core::Size
,
utility::vector1
<
111
std::pair< core::chemical::AA, utility::vector1< core::Real > > > > >
seqpos_aa_vals_vec_
;
112
utility::vector1< core::Real >
filter_deltas_
;
113
bool
stop_before_condition_
;
114
bool
skip_best_check_
;
115
utility::vector1<protocols::simple_filters::DeltaFilterOP>
reset_delta_filters_
;
116
bool
rtmin_
;
//dflt false; should we rtmin after packing?
117
core::Real
design_shell_
;
//dflt -1 to only allow pointmutations, higher allows suroundings to be designed as well
118
core::Real
repack_shell_
;
119
bool
shuffle_order_
;
//randomize the order that mutations are attempted?
120
};
121
122
123
}
// design_opt
124
}
// protocols
125
126
127
#endif
/*INCLUDED_protocols_design_opt_ParetoOptMutationMover_HH*/
Generated on Sat Jun 1 2013 11:46:10 for Rosetta 3.5 by
1.8.4