Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LoopMover_CCD.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 Mike Tyka
13 
14 #ifndef INCLUDED_protocols_loops_loop_mover_refine_LoopMover_CCD_hh
15 #define INCLUDED_protocols_loops_loop_mover_refine_LoopMover_CCD_hh
16 
19 #include <protocols/moves/Mover.hh>
20 
21 #include <core/types.hh>
22 
26 #include <core/pose/Pose.fwd.hh>
29 
32 
33 #include <utility/tag/Tag.fwd.hh>
34 
35 #include <utility/vector1.hh>
36 
37 // Added by BDW during refactoring. These headers should be removed when refactoring is complete.
42 
43 
44 
45 ///////////////////////////////////////////////////////////////////////////////
46 namespace protocols {
47 namespace loops {
48 namespace loop_mover {
49 namespace refine {
50 
52 public:
53 
54  // empty constructor
56 
57  //constructor
60  );
61 
65  );
66 
67  //destructor
69 
70  /// @brief Clone this object
71  virtual protocols::moves::MoverOP clone() const;
72 
73  void set_default_settings();
74 
75  void set_redesign_loop( bool value = true ){ redesign_loop_ = value; }
77 
78  void set_task_factory( core::pack::task::TaskFactoryCOP task_factory_in );
79 
81 
83 
84  void apply( core::pose::Pose & pose );
85  virtual std::string get_name() const;
86 
87  void outer_cycles( core::Size value ) { outer_cycles_ = value; }
88  void max_inner_cycles( core::Size value ) { max_inner_cycles_ = value; }
89  void repack_period( core::Size value ) { repack_period_ = value; }
90  void temp_initial( core::Real value ) { temp_initial_ = value; }
91  void temp_final( core::Real value ) { temp_final_ = value; }
97  void set_flank_residue_min(bool value) {flank_residue_min_ = value;} // by JQX
98  bool flank_residue_min() const { return flank_residue_min_; }
99  friend std::ostream &operator<< ( std::ostream &os, LoopMover_Refine_CCD const &mover );
100 
101 
105 
106  /// @brief setup an appropriate movemap for the given loops
107  /// @param[in] loops The loops to model.
108  /// @param[in] allow_repack Indicates whether or not to allow a position to
109  /// repack.
110  /// @param[out] movemap Output movemap, all settings added here.
111  /// @remarks will enforce the false movemap
112  void setup_movemap(
113  core::pose::Pose const & pose,
115  utility::vector1< bool > const & allow_repack,
117  );
118 
119 protected:
120  void read_options();
121 
124  virtual basic::Tracer & tr() const;
125 
126 // This private block was added by BDW during refactoring
127 private:
130 
132 
134 
136  Size iteration_number,
137  core::scoring::ScoreFunctionOP local_scorefxn,
139  core::pose::Pose & pose
140  );
141 
142  void debugging_output( core::pose::Pose & pose );
143 
144 private:
145  // parameters with local defaults
146  // Overriden by options if specified by user (do not use option defaults), or via setter methods
150  bool flank_residue_min_; //JQX
151  bool debug_;
155 
159 }; // LoopMover_Refine_CCD
160 
161 } //namespace refine
162 } //namespace loop_mover
163 } //namespace loops
164 } //namespace protocols
165 
166 #endif //INCLUDED_protocols_loops_loop_mover_refine_LoopMover_CCD_HH