Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JumpOutMover.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 src/protocols/moves/JumpOutMover.hh
11 /// @brief JumpOutMover
12 /// @author
13 
14 #ifndef INCLUDED_protocols_moves_JumpOutMover_hh
15 #define INCLUDED_protocols_moves_JumpOutMover_hh
16 
17 // Unit Headers
18 #include <protocols/moves/Mover.hh>
20 
21 // Package headers
22 
23 // Project headers
24 #include <core/types.hh>
25 
26 #include <core/pose/Pose.fwd.hh>
27 
28 // AUTO-REMOVED #include <core/scoring/ScoreType.hh>
29 // AUTO-REMOVED #include <core/scoring/ScoreFunction.hh>
31 
32 // ObjexxFCL Headers
33 
34 // C++ Headers
35 #include <string>
36 
37 // Utility Headers
38 #include <utility/pointer/ReferenceCount.hh>
39 // AUTO-REMOVED #include <ObjexxFCL/string.functions.hh>
40 
41 #include <utility/vector1.hh>
42 
43 
44 namespace protocols {
45 namespace moves {
46 
47 
48 class JumpOutMover : public Mover {
49 public:
50  // default constructor
51  JumpOutMover();
52 
54  MoverOP first_mover_in,
55  MoverOP second_mover_in,
57  core::Real tolerance_in
58  );
59 
60  ~JumpOutMover();
61 
62  /// @brief Applies a move, and conditionally applies a second move.
63  /// @detailed This mover applies the first move, and checks if the score
64  /// difference between the initial score and the score after the first move is
65  /// within a tolerance. If the score after the first move is within the
66  /// tolerance, the second move is applied.
67  virtual void apply( core::pose::Pose & pose );
68  virtual std::string get_name() const;
69 
70 private:
74 };
75 
76 
77 } // moves
78 } // protocols
79 
80 
81 #endif