Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MedalMover.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/MedalMover.hh
11 /// @author Christopher Miles (cmiles@uw.edu)
12 
13 #ifndef INCLUDED_PROTOCOLS_MEDAL_MEDALMOVER_HH
14 #define INCLUDED_PROTOCOLS_MEDAL_MEDALMOVER_HH
15 
16 // Unit header
18 
19 // C/C++ headers
20 #include <string>
21 
22 // Utility headers
23 #include <utility/vector1.hh>
24 
25 // Project headers
28 #include <core/pose/Pose.fwd.hh>
32 #include <protocols/moves/Mover.hh>
33 
34 
35 namespace protocols {
36 namespace medal {
37 
38 /// @class Alternating rigid body and fragment insertion moves with
39 /// a linearly increasing chainbreak
41  protected:
43 
44  public:
45  MedalMover();
46  void apply(core::pose::Pose& pose);
47 
48  // -- jd2 -- //
49  std::string get_name() const;
52 
53  protected:
54  /// @brief Closes chainbreaks in <pose>
55  void do_loop_closure(core::pose::Pose* pose) const;
56 
57  /// @brief Computes per-residue sampling probabilities
59  const unsigned num_residues,
60  const core::sequence::SequenceAlignment& alignment,
61  const protocols::loops::Loops& chunks,
62  const core::kinematics::FoldTree& tree,
63  const core::fragment::FragSet& fragments,
64  Probabilities* probs) const;
65 
66  /// @brief Partitions the structure into non-overlapping chunks
67  void decompose_structure(const core::pose::Pose& pose,
68  protocols::loops::LoopsOP & chunks) const;
69 
70  /// @brief Configures a mover for biased fragment insertion
72  core::pose::PoseOP native,
74  core::fragment::FragSetOP fragments,
75  const Probabilities& probs,
76  const std::string& policy,
77  unsigned library_size) const;
78 
79  /// @brief Configures a mover for alternating biased fragment insertion
80  /// and rigid body moves
82  const core::pose::Pose& pose,
83  core::pose::PoseOP native,
85  core::fragment::FragSetOP fragments,
86  const Probabilities& probs,
87  const std::string& policy,
88  unsigned library_size) const;
89 
90  /// @brief Configures a mover for performing alternating small and shear moves
92  core::scoring::ScoreFunctionOP score) const;
93 
94  /// @brief Configures a basic score functions which callers can then specialize
96 
99 };
100 
101 } // namespace medal
102 } // namespace protocols
103 
104 #endif // PROTOCOLS_MEDAL_MEDAL_MOVER_HH_