Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TrialCounterObserver.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/TrialCounterObserver.hh
11 /// @brief
12 /// @author
13 
14 #ifndef INCLUDED_protocols_canonical_sampling_TrialCounterObserver_hh
15 #define INCLUDED_protocols_canonical_sampling_TrialCounterObserver_hh
16 
17 // Unit Headers
18 //#include <protocols/canonical_sampling/TrialCounterObserver.fwd.hh>
19 
20 // Project Headers
24 #include <core/id/DOF_ID_Range.hh>
26 #include <core/pose/Pose.fwd.hh>
27 #include <protocols/moves/Mover.hh>
28 
29 // Utility Headers
30 #include <core/types.hh>
31 
32 namespace protocols {
33 namespace canonical_sampling {
34 
35 ///@details
37 
38 public:
39 
40  ///@brief
42 
43  virtual
45 
46  virtual std::string get_name() const;
47 
48  virtual protocols::moves::MoverOP clone() const;
49 
50  void
52  utility::tag::TagPtr const tag,
54  protocols::filters::Filters_map const & filters,
55  protocols::moves::Movers_map const & movers,
56  core::pose::Pose const & pose
57  );
58 
59  /// @brief callback executed before any Monte Carlo trials
60  virtual
61  void
63  core::pose::Pose & pose,
64  protocols::canonical_sampling::MetropolisHastingsMover const & metropolis_hastings_mover,
65  core::Size cycle //non-zero if trajectory is restarted
66  );
67 
68  /// @brief callback executed after the Metropolis criterion is evaluated
69  virtual
70  void
72  protocols::canonical_sampling::MetropolisHastingsMover const & metropolis_hastings_mover
73  );
74 
75  /// @brief callback executed after all Monte Carlo trials
76  virtual
77  void
79  core::pose::Pose & pose,
80  protocols::canonical_sampling::MetropolisHastingsMover const & metropolis_hastings_mover
81  );
82 
83  /// @brief return false here if a valid pose is not required for "observe"
84  /// i.e. a trialcounter
85  virtual
86  bool
87  requires_pose() { return false; }
88 
89 private:
92 }; //end protocols::canonical_sampling::TrialCounterObserver
93 
94 } //namespace canonical_sampling
95 } //namespace protocols
96 
97 #endif // INCLUDED_protocols_canonical_sampling_TrialCounterObserver_HH