Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_Minimizer.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 loopRNA_minimizer.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_rna_RNA_Minimizer_HH
18 #define INCLUDED_protocols_rna_RNA_Minimizer_HH
19 
20 #include <protocols/moves/Mover.hh>
22 #include <core/pose/Pose.fwd.hh>
24 
25 //// C++ headers
26 #include <string>
27 
29 #include <utility/vector1.hh>
30 
31 namespace protocols {
32 namespace rna {
33 
34 /// @brief The RNA de novo structure modeling protocol
36 public:
37  /// @brief Construct the protocol object given
38  /// the RNA fragment library to use.
39  RNA_Minimizer();
40 
41  /// @brief Clone this object
42  virtual protocols::moves::MoverOP clone() const {
43  return new RNA_Minimizer(*this);
44  }
45 
46  /// @brief Apply the loop-rebuild protocol to the input pose
47  void apply( core::pose::Pose & pose );
48 
49  virtual std::string get_name() const;
50 
51  void deriv_check( bool const setting ){ deriv_check_ = setting; }
52 
53  void use_coordinate_constraints( bool const setting ){ use_coordinate_constraints_ = setting; }
54 
55  void skip_o2star_trials( bool const setting ){ skip_o2star_trials_ = setting; }
56 
57  void set_perform_minimizer_run( bool const setting ){ perform_minimizer_run_ = setting; }
58 
59  void vary_bond_geometry( bool const setting ){ vary_bond_geometry_ = setting; }
60 
62 
63  void set_verbose( bool const setting){ verbose_ = setting; }
64 
65  void set_do_dump_pdb( bool const setting){ do_dump_pdb_ = setting; }
66 
67  void set_move_first_rigid_body( bool const setting){ move_first_rigid_body_ = setting; }
68 
69  void set_min_type( std::string const setting){ min_type_ = setting; }
70 
71  void
73 
74  void
76 
77  void
79 
81  score_function() const{ return scorefxn_; }
82 
84  clone_scorefxn() const{ return scorefxn_->clone(); }
85 
86 
87 private:
88 
89  // Make this a Mover?
90  void
91  o2star_trials( core::pose::Pose & pose, core::scoring::ScoreFunctionOP const & scorefxn ) const;
92 
93  void
95 
96  void
98 
99 
109  bool verbose_;
113 
115 
117 
119 
120 
121 }; // class RNA_Minimizer
122 
123 } //rna
124 } // protocols
125 
126 #endif