Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LoopMover_SlidingWindow.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_loop_build_LoopMover_SlidingWindow_hh
15 #define INCLUDED_protocols_loop_build_LoopMover_SlidingWindow_hh
16 
17 // package headers
19 #include <protocols/moves/Mover.hh>
20 
21 // project headers
22 #include <core/types.hh>
23 #include <core/id/types.hh>
26 #include <core/pose/Pose.fwd.hh>
28 // AUTO-REMOVED #include <core/scoring/ScoreFunctionFactory.hh>
30 
31 #include <utility/vector1.hh>
32 
33 
34 // C++ Headers
35 
36 
37 namespace protocols {
38 namespace loop_build {
39 
40 
41 /// @brief LoopMover utilizing fragment insertion, ccd loop closure, and minimization
43 
44 
45 public: // construct/destruct
46 
47 
48  /// @brief Loops constructor
49  /// @remarks Will be initialized with centroid level score function 'score4L'.
51 
52  /// @brief Loops constructor
53  /// @param[in] loops_in the set of loops to model
54  /// @param[in] frags_from_file read fragments from files specified on command line?
55  /// @remarks Will be initialized with centroid level score function 'score4L'.
58  );
59 
60 
61  /// @brief Loops & ScoreFunction constructor
62  /// @param[in] loops_in the set of loops to model
63  /// @param[in] scorefxn desired ScoreFunction
64  /// @param[in] frags_from_file read fragments from files specified on command line?
68  );
69 
70  virtual std::string get_name() const;
71 
72 public: // virtual constructors
73 
74 
75  /// @brief clone this object
76  virtual
78  return new LoopMover_SlidingWindow( *this );
79  }
80 
81 
82 public: // accessors
83 
84 
85  /// @brief randomize loops prior to loop modeling?
86  inline
87  bool randomize_loop() const {
88  return randomize_loop_;
89  }
90 
91 
92 public: // mutators
93 
94 
95  /// @brief indicate whether loops should be randomized prior to modeling
96  inline
97  void randomize_loop( bool const flag ) {
98  randomize_loop_ = flag;
99  }
100 
101 
102  /// @brief set default settings
103  /// @details default settings are as follows:
104  /// <ul>
105  /// <li> randomize_loop() = true
106  /// </ul>
108  randomize_loop_ = true;
109  }
110 
111 
112 protected: // virtual loop operations
113 
114 
115  /// @brief loop modeling protocol implementation
117  core::pose::Pose & pose,
118  protocols::loops::Loop const & loop
119  );
120 
121  virtual basic::Tracer & tr() const;
122 
123 protected: // data
124 
125 
126  /// @brief list of fragment libraries to use
127  std::vector< core::fragment::ConstantLengthFragSetOP > frag_libs_;
128 
129 
130  /// @brief randomize loops prior to performing loop modeling?
132 
133 
134 };
135 
136 /* Undefined, commenting out to fix PyRosetta build
137 void fast_ccd_close_loops(
138  core::pose::Pose & pose,
139  protocols::loops::Loop const & loop,
140  core::kinematics::MoveMap & mm
141 ); */
142 
143 
144 } //namespace loop_build
145 } //namespace protocols
146 
147 #endif //INCLUDED_protocols_loop_build_LoopMover_QuickCCD_HH