Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SaneMinMover.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/simple_moves/SaneMinMover.hh
11 /// @brief
12 /// @author James Thompson
13 
14 #ifndef INCLUDED_protocols_simple_moves_SaneMinMover_hh
15 #define INCLUDED_protocols_simple_moves_SaneMinMover_hh
16 
18 
19 #include <protocols/moves/Mover.hh>
22 #include <core/pose/Pose.fwd.hh>
24 #include <core/types.hh>
25 
26 #include <utility/vector1.hh>
27 
28 
29 namespace protocols {
30 namespace simple_moves {
31 
32 ///////////////////////////////////////////////////////////////////////////
33 // @brief A protocols::moves::Mover that minimizes a Pose to a local energy minimum by
34 /// performing energy minimization of a ScoreFunction over the allowable degrees
35 /// of freedom, defined by a MoveMap. Unlike the classic MinMover, the only
36 /// method for setting Minimization options is via the MinimizerOptions class.
38 
39 public:
40  SaneMinMover();
41  SaneMinMover(std::string const & name);
43  core::kinematics::MoveMapOP movemap_in,
46  bool cartesian = false
47  );
48 
49  virtual ~SaneMinMover();
50  virtual protocols::moves::MoverOP clone() const;
51 
52  // getters
53  bool cartesian() const;
57 
58  /// @brief Minimizes the DOFs of pose specified in the MoveMap
59  virtual void apply( core::pose::Pose & pose );
60 
61  virtual std::string get_name() const;
62 
63 private:
64  // set reasonable defaults for scorefxn_, movemap_ and min_options_
65  void set_defaults_();
66 
67  bool cartesian_;
71 };
72 
73 } // moves
74 } // protocols
75 
76 #endif