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