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
loophash
LoopHashMoverWrapper.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/loophash/movers/LoopHashMoverWrapper.hh
11
/// @author Sarel Fleishman (sarelf@u.washington.edu)
12
13
#ifndef INCLUDED_protocols_loophash_LoopHashMoverWrapper_hh
14
#define INCLUDED_protocols_loophash_LoopHashMoverWrapper_hh
15
16
#include <
core/types.hh
>
17
#include <
core/pose/Pose.fwd.hh
>
18
#include <
core/scoring/ScoreFunction.hh
>
19
#include <
core/io/silent/SilentStruct.hh
>
20
#include <utility/tag/Tag.fwd.hh>
21
#include <
protocols/filters/Filter.hh
>
22
#include <
protocols/moves/Mover.hh
>
23
#include <
protocols/relax/FastRelax.hh
>
24
#include <
protocols/relax/FastRelax.fwd.hh
>
25
#include <
protocols/moves/DataMap.fwd.hh
>
26
#include <
protocols/loophash/LoopHashLibrary.hh
>
27
// AUTO-REMOVED #include <set>
28
29
#include <utility/vector1.hh>
30
31
32
namespace
protocols {
33
namespace
loophash {
34
35
using
core::Real
;
36
using
core::Size
;
37
using
std::string
;
38
39
class
LoopHashMoverWrapper
:
public
protocols::moves::Mover
40
{
41
public
:
42
LoopHashMoverWrapper
();
43
44
void
apply
(
core::pose::Pose
& pose );
45
core::pose::PoseOP
get_additional_output
();
46
47
virtual
std::string
get_name
()
const
;
48
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
49
protocols::moves::DataMap
&,
50
protocols::filters::Filters_map
const
&,
51
protocols::moves::Movers_map
const
&,
52
core::pose::Pose
const
& );
53
protocols::moves::MoverOP
clone
()
const
{
return
(
protocols::moves::MoverOP
(
new
LoopHashMoverWrapper
( *
this
) ) ); }
54
protocols::moves::MoverOP
fresh_instance
()
const
{
return
protocols::moves::MoverOP
(
new
LoopHashMoverWrapper
); }
55
virtual
~LoopHashMoverWrapper
();
56
57
Real
min_bbrms
()
const
;
58
void
min_bbrms
(
Real
const
min_bbrms
);
59
Real
max_bbrms
()
const
;
60
void
max_bbrms
(
Real
const
max_bbrms
);
61
62
Real
min_rms
()
const
;
63
void
min_rms
(
Real
const
min_rms
);
64
Real
max_rms
()
const
;
65
void
max_rms
(
Real
const
max_rms
);
66
67
Size
max_nstruct
()
const
;
68
void
max_nstruct
(
Size
const
max_nstruct
);
69
70
utility::vector1< Size >
loop_sizes
()
const
;
71
void
add_loop_size
(
Size
const
loop_size );
72
73
void
cenfilter
(
protocols::filters::FilterOP
cenfilter
);
74
void
fafilter
(
protocols::filters::FilterOP
fafilter
);
75
void
ranking_fafilter
(
protocols::filters::FilterOP
ranking_fafilter
);
76
void
ranking_cenfilter
(
protocols::filters::FilterOP
filter ){
ranking_cenfilter_
= filter; }
77
protocols::filters::FilterOP
ranking_cenfilter
()
const
{
return
ranking_cenfilter_
; }
78
void
relax_mover
(
protocols::relax::FastRelaxOP
relax_mover
);
79
80
private
:
81
// loopsampler
82
utility::vector1< Size >
loop_sizes_
;
83
LoopHashLibraryOP
library_
;
84
protocols::relax::FastRelaxOP
fastrelax_
;
// the relax mover (will be applied in batches)
85
86
// params
87
Real
min_bbrms_
,
max_bbrms_
,
min_rms_
,
max_rms_
;
// loophash centroid generation params
88
Size
start_res_
,
stop_res_
,
max_struct_
,
max_radius_
,
max_struct_per_radius_
;
// residues to loophash over
89
Size
max_nstruct_
;
// maximum number of residues per position to generate
90
Size
ncentroid_
,
nfullatom_
;
// number of structures to carry over to subsequent stages
91
Size
batch_size_
;
// batch relax batch size
92
protocols::filters::FilterOP
cenfilter_
,
ranking_cenfilter_
,
fafilter_
,
ranking_fafilter_
;
// cen/fafilter actually prune decoys based on the filter's apply function. ranking_fa_filter uses the filter's report_sm method to rank and report the best decoys
93
94
// prefiltering
95
core::Size
nprefilter_
;
96
core::scoring::ScoreFunctionOP
prefilter_scorefxn_
;
97
98
// structure store
99
bool
ideal_
,
filter_by_phipsi_
;
// should we save space and assume structure is ideal?
100
std::vector< std::pair< Real, core::io::silent::SilentStructOP > >
all_structs_
;
101
core::Real
sample_weight_const_
;
//dflt 1.0 ; sets the same sample weight throughout the pose
102
};
103
104
105
}
// loophash
106
}
// protocols
107
108
109
#endif
/*INCLUDED_protocols_loophash_movers_LoopHashMoverWrapper_HH*/
110
Generated on Sat Jun 1 2013 11:57:05 for Rosetta 3.5 by
1.8.4