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
canonical_sampling
CanonicalSamplingMover.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
11
/// @brief
12
/// @author
13
/// @author
14
15
#ifndef INCLUDED_protocols_canonical_sampling_CanonicalSamplingMover_HH
16
#define INCLUDED_protocols_canonical_sampling_CanonicalSamplingMover_HH
17
18
// AUTO-REMOVED #include <protocols/canonical_sampling/CanonicalSamplingMover.fwd.hh>
19
20
// AUTO-REMOVED #include <core/scoring/ScoreFunction.hh>
21
#include <
core/pose/Pose.hh
>
22
23
// AUTO-REMOVED #include <protocols/moves/MoverContainer.hh>
24
#include <
protocols/canonical_sampling/mc_convergence_checks/Pool_ConvergenceCheck.hh
>
25
26
// AUTO-REMOVED #include <protocols/loops/Loop.hh>
27
// AUTO-REMOVED #include <protocols/loops/Loops.hh>
28
29
#include <
protocols/loops/Loops.fwd.hh
>
30
#include <
protocols/moves/Mover.hh
>
31
#include <
protocols/moves/MoverContainer.fwd.hh
>
32
#include <utility/vector0.hh>
33
#include <utility/vector1.hh>
34
35
36
37
38
namespace
protocols {
39
namespace
canonical_sampling {
40
41
using namespace
core;
42
43
44
class
CanonicalSamplingMover
:
public
moves::Mover
{
45
46
public
:
47
static
void
register_options
();
48
49
CanonicalSamplingMover
();
50
51
CanonicalSamplingMover
(
core::scoring::ScoreFunctionOP
sfxn,
52
protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP
ptr,
53
int
ntrial);
54
55
void
add_mover(
protocols::moves::MoverOP
m,
core::Real
weight);
56
57
std::string
get_ABGEO_string(
core::pose::Pose
& pose,
protocols::loops::Loops
& loop);
58
59
void
ntrials(
int
ntrial);
60
61
void
set_defaults_from_cmdline();
62
63
void
set_temp(
core::Real
temperature);
64
65
core::Real
get_temp
() {
return
temperature_;};
66
67
void
set_interval_pose_dump(
int
p_interval);
68
69
void
set_interval_data_dump(
int
d_interval);
70
71
void
set_scorefunction(
core::scoring::ScoreFunctionOP
sfxn);
72
73
void
detailed_balance(
bool
truefalse);
74
bool
detailed_balance
()
const
{
return
detailed_balance_; };
75
76
core::Real
transition_threshold
()
const
{
return
transition_threshold_; };
77
78
void
use_MPI_sync_pools(
bool
truefalse);
79
bool
use_MPI_sync_pools
()
const
{
return
MPI_synchronize_pools_; };
80
81
void
use_MPI_bcast(
bool
truefalse );
82
bool
use_MPI_bcast
()
const
{
return
MPI_bcast_; };
83
84
void
use_hierarchical_clustering(
bool
truefalse );
85
bool
use_hierarchical_clustering
()
const
{
return
use_hierarchical_clustering_; };
86
87
void
output_only_cluster_transitions(
bool
truefalse);
88
89
void
set_poolrmsd(
protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP
ptr);
90
91
virtual
void
apply(
core::pose::Pose
& pose);
92
virtual
std::string
get_name()
const
;
93
94
private
:
95
96
core::Real
periodic_range(
core::Real
a,
core::Real
x);
97
98
void
dump_xtc_format_decoy(
99
std::ostream& os,
100
core::pose::Pose
const
& pose,
101
loops::Loops
const
& loop_to_dump
102
);
103
104
105
void
dump_decoy_or_score(
106
std::ostream& os,
107
core::pose::Pose
const
& pose,
108
core::Size
i_trial,
109
std::string
const
& jobname,
110
loops::Loops
const
& loop_to_dump,
111
bool
score_only =
false
112
);
113
114
void
setup_constraints
(
core::pose::Pose
& pose);
115
116
protocols::moves::MonteCarloOP
mc_
;
117
core::scoring::ScoreFunctionOP
sfxn_
;
118
moves::RandomMoverOP
randmove_
;
119
protocols::canonical_sampling::mc_convergence_checks::Pool_RMSD_OP
pool_rms_
;
120
121
core::Size
interval_posedump_
;
122
core::Size
interval_transitiondump_
;
123
core::Size
ntrials_
;
124
bool
detailed_balance_
;
125
bool
MPI_synchronize_pools_
;
126
bool
MPI_bcast_
;
127
bool
use_hierarchical_clustering_
;
128
bool
save_loops_only_
;
129
bool
dump_loops_only_
;
130
bool
output_only_cluster_transition_
;
131
core::Real
transition_threshold_
;
132
core::Real
temperature_
;
133
134
static
bool
options_registered_
;
135
bool
ramp_temperature_
;
136
bool
boinc_mode_
;
137
138
};
139
140
}
141
}
142
143
#endif // INCLUDED_protocols_canonical_sampling_CanonicalSamplingMover_HH
Generated on Sat Jun 1 2013 11:43:39 for Rosetta 3.5 by
1.8.4