Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThermodynamicObserver.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/ThermodynamicObserver.hh
11 /// @brief
12 /// @author
13 
14 #ifndef INCLUDED_protocols_canonical_sampling_ThermodynamicObserver_hh
15 #define INCLUDED_protocols_canonical_sampling_ThermodynamicObserver_hh
16 
17 // Unit Headers
19 
20 // Project Headers
22 // AUTO-REMOVED #include <core/id/DOF_ID_Range.hh>
23 // AUTO-REMOVED #include <core/id/TorsionID_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 
30 #include <utility/vector1.hh>
31 
32 
33 namespace protocols {
34 namespace canonical_sampling {
35 
36 ///@details
38 
39 public:
40 
41  ///@brief
43 
44  virtual
46 
47  virtual
48  void apply( core::pose::Pose& ) {};
49  /// @brief callback executed before any Monte Carlo trials
50 
51  virtual
52  bool
56  core::Size&,
57  core::Size&,
58  core::Real&
59  ) { return false; }
60 
61 
62  virtual
63  void
67  core::Size //non-zero if trajectory is restarted
68  ) {};
69 
70  /// @brief callback executed after the Metropolis criterion is evaluated
71  virtual
72  void
74  protocols::canonical_sampling::MetropolisHastingsMover const & metropolis_hastings_mover
75  ) = 0;
76 
77  /// @brief callback executed after all Monte Carlo trials
78  virtual
79  void
83  ) {};
84 
85  /// @brief return false here if a valid pose is not required for "observe"
86  /// i.e. a trialcounter
87  virtual
88  bool
89  requires_pose() { return true; };
90 
91 private:
92 
93 }; //end ThermodynamicObserver
94 
95 } //namespace canonical_sampling
96 } //namespace protocols
97 
98 #endif // INCLUDED_protocols_canonical_sampling_ThermodynamicObserver_HH