Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MedalExchangeMover.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/medal/MedalExchangeMover.hh
11 /// @author Christopher Miles (cmiles@uw.edu)
12 
13 #ifndef INCLUDED_PROTOCOLS_MEDAL_MEDALEXCHANGEMOVER_HH
14 #define INCLUDED_PROTOCOLS_MEDAL_MEDALEXCHANGEMOVER_HH
15 
16 // Unit header
18 
19 // C/C++ headers
20 #include <string>
21 
22 // Utility headers
23 #include <utility/vector1.fwd.hh>
24 
25 // Project headers
26 #include <core/types.hh>
30 #include <core/pose/Pose.fwd.hh>
32 #include <protocols/moves/Mover.hh>
33 
34 namespace protocols {
35 namespace medal {
36 
38  public:
40  void apply(core::pose::Pose& pose);
41 
42  /// @brief Uses the copy constructor to create a new instance
44 
45  /// @brief Uses the no-argument constructor to create a new instance
47 
48  /// @brief Returns the name of this mover
49  std::string get_name() const;
50 
51  private:
52  /// @brief Computes the probability of selecting each residue as a candidate
53  /// for fragment insertion. P(unaligned) = 0, P(aligned) > 0.
54  void setup_sampling_probs(core::Size num_residues,
55  const core::kinematics::FoldTree& tree,
57  utility::vector1<double>* probs) const;
58 
61 };
62 
63 } // namespace medal
64 } // namespace protocols
65 
66 #endif // PROTOCOLS_MEDAL_MEDAL_EXCHANGE_MOVER_HH_