Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThermodynamicMover.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/canonical_sampling/ThermodynamicMover.hh
11 /// @brief
12 /// @author
13 
14 #ifndef INCLUDED_protocols_canonical_sampling_ThermodynamicMover_hh
15 #define INCLUDED_protocols_canonical_sampling_ThermodynamicMover_hh
16 
17 // Unit Headers
19 
20 // Project Headers
22 #include <core/id/DOF_ID_Range.hh>
24 #include <core/pose/Pose.fwd.hh>
25 #include <protocols/moves/Mover.hh>
26 
27 // Utility Headers
28 #include <core/types.hh>
29 
31 #include <utility/vector1.hh>
32 
33 //Auto Headers
35 
36 namespace protocols {
37 namespace canonical_sampling {
38 
39 ///@details
41 
42 public:
43 
44  ///@brief
46 
47  virtual
49 
50  /// @brief callback executed before any Monte Carlo trials
51  virtual
52  void
54  core::pose::Pose & pose,
56  core::Size cycle //non-zero if trajectory is restarted
57  );
58 
59  /// @brief callback executed after the Metropolis criterion is evaluated
60  virtual
61  void
63  protocols::canonical_sampling::MetropolisHastingsMover const & metropolis_hastings_mover
64  );
65 
66  /// @brief callback for proposal density ratio of last apply method
67  virtual
70 
71  /// @brief callback executed after all Monte Carlo trials
72  virtual
73  void
75  core::pose::Pose & pose,
76  protocols::canonical_sampling::MetropolisHastingsMover const & metropolis_hastings_mover
77  );
78 
79  /// @brief get whether detailed balance is preserved (i.e. no branch angle optimization during moves)
80  virtual
81  bool
82  preserve_detailed_balance() const = 0;
83 
84  /// @brief set whether detailed balance is preserved (i.e. no branch angle optimization during moves)
85  virtual
86  void
89  ) = 0;
90 
91  /// @brief determine whether the move performs multiple trials on a single apply
92  virtual
93  bool
95 
96  /// @brief get change in internal score/temperature for last apply method of multiple trial movers
97  virtual
100 
101  /// @brief get the MetropolisHastingsMover for multiple trial movers
102  virtual
105 
106  /// @brief set the MetropolisHastingsMover for multiple trial movers
107  virtual
108  void
111  );
112 
113  /// @brief get the TorsionIDs perturbed by the mover during moves, along with their ranges
114  virtual
117  core::pose::Pose & pose
118  ) = 0;
119 
120  /// @brief get the DOF_IDs perturbed by the mover during moves (not including those returned by torsion_id_ranges(), along with their ranges
121  virtual
124  core::pose::Pose & pose
125  );
126 
127 private:
128 
129 }; //end ThermodynamicMover
130 
131 } //namespace canonical_sampling
132 } //namespace protocols
133 
134 #endif // INCLUDED_protocols_canonical_sampling_ThermodynamicMover_HH