Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RigidSearchMover.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 protocols/ligand_docking/RigidSearchMover.hh
11 ///
12 /// @brief
13 /// @author Ian W. Davis
14 
15 
16 #ifndef INCLUDED_protocols_ligand_docking_RigidSearchMover_hh
17 #define INCLUDED_protocols_ligand_docking_RigidSearchMover_hh
18 
20 
21 #include <core/pose/Pose.fwd.hh>
23 #include <protocols/moves/Mover.hh>
24 
25 #include <utility/vector1.hh>
26 
27 
28 namespace protocols {
29 namespace ligand_docking {
30 
31 
32 ///@brief An optimized mover for Monte Carlo trial of rigid body perturbations.
33 ///
34 ///@details
35 ///
37 {
38 public:
39 
40  RigidSearchMover(int jump_id, int num_trials, core::scoring::ScoreFunctionCOP scorefxn);
41  RigidSearchMover(RigidSearchMover const & that);
42  virtual ~RigidSearchMover();
43 
44  virtual void apply(core::pose::Pose & pose);
45  virtual std::string get_name() const;
46 
47  /// @brief Will the absolute lowest-energy pose be recovered at the end of apply()?
48  bool recover_low() const { return recover_low_; }
49  /// @brief Should the absolute lowest-energy pose be recovered at the end of apply()?
50  void recover_low(bool b) { recover_low_ = b; }
51 
52  /// @brief Amount of random (Gaussian) translation, in Angstroms
54  /// @brief Amount of random (Gaussian) translation, in Angstroms
55  void translation(core::Real angstroms) { translate_Ang_ = angstroms; }
56 
57  /// @brief Amount of random (Gaussian) rotation, in degrees
58  core::Real rotation() const { return rotate_deg_; }
59  /// @brief Amount of random (Gaussian) rotation, in degrees
60  void rotation(core::Real degrees) { rotate_deg_ = degrees; }
61 
62  /// @brief Rotation occurs around centroid of downstream half of the jump (default)
64  /// @brief Rotation occurs around the specified atom
66 
67 private:
68  int jump_id_;
74  // If these are 0, rotate around the downstream centroid, else rotate around this atom.
78 
79 }; // RigidSearchMover
80 
81 
82 } // namespace ligand_docking
83 } // namespace protocols
84 
85 #endif // INCLUDED_protocols_ligand_docking_RigidSearchMover_HH