Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ShakeStructureMover.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 Liz Kellogg
13 
14 #ifndef INCLUDED_protocols_simple_moves_ShakeStructureMover_HH
15 #define INCLUDED_protocols_simple_moves_ShakeStructureMover_HH
16 
19 // AUTO-REMOVED #include <core/scoring/ScoreFunctionFactory.hh>
20 
21 // C++ headers
22 // AUTO-REMOVED #include <cstdlib>
23 
24 #include <core/types.hh>
25 #include <core/pose/Pose.fwd.hh>
26 
27 //protocols
28 #include <protocols/moves/Mover.hh>
30 
31 #include <utility/vector1.hh>
32 
33 namespace protocols {
34 namespace simple_moves {
35 
36  // no using in .hh files !
37  // using namespace core;
38  // using namespace scoring;
39 
41 public:
43 
45 
47  core::Real temperature);
48 
50  core::Real ens_diversity,
51  core::Real ens_div_tolerance);
52 
53  virtual ~ShakeStructureMover();
54 
55  //setters
56  void set_skip_low_temp_phase( bool truefalse);
57  void set_mc_temperature(core::Real temp);
58  void set_nrounds( int new_nrounds );
59  void set_ramp_fa_rep(bool truefalse);
60  void set_minimize_with_cst(bool truefalse);
62  void set_ensemble_diversity(core::Real ca_rmsd);
64  void set_sc_min(bool truefalse);
65 
66  //accessors
68  bool get_ramp_fa_rep();
69  bool get_minimize_with_cst();
73  bool get_sc_min();
74  //
78  bool get_min_cst();
79  bool get_testing_phase();
83  //run-time
84 
85  void apply(core::pose::Pose & p);
86  virtual std::string get_name() const;
87 
88 protected:
89  // for derived classes
90  void set_testing_phase( bool truefalse );
91  void set_mc_temp( core::Real temperature );
92  void set_is_properly_initialized( bool truefalse );
94 
95 private:
98  bool min_cst;
106  int nrounds;
107  double cst_weight;
109  core::scoring::ScoreFunctionOP min_scorefxn; //to avoid having to reinitialize
110  //every time we minimize
112 
113 protected:
115  reduce_fa_rep(float fraction_fa_rep, core::scoring::ScoreFunction & s);
116 
117  virtual void
119 
120  virtual void
123 
124  virtual void
127  float const CA_cutoff,
128  float const cst_tol);
129 
130  virtual void
132  core::Real temperature);
133 
134  core::Real
137 
138  void
139  setup_movers(
142  core::Real small_H_angle_max, core::Real small_E_angle_max, core::Real small_L_angle_max,
143  core::Real shear_H_angle_max, core::Real shear_E_angle_max, core::Real shear_L_angle_max);
144 
145  void
148 
149 };
150 
151 } //protocols
152 } //simple_moves
153 
154 #endif //INCLUDED_protocols_simple_moves_ShakeStructureMover_HH