Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_FragmentMover.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 loopRNA_minimizer.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_rna_RNA_FragmentMover_HH
18 #define INCLUDED_protocols_rna_RNA_FragmentMover_HH
19 
20 #include <core/types.hh>
21 #include <protocols/moves/Mover.hh>
24 // AUTO-REMOVED #include <ObjexxFCL/FArray1D.hh>
25 #include <core/pose/Pose.fwd.hh>
26 
27 //// C++ headers
28 #include <string>
29 #include <vector>
30 #include <map>
31 
32 #include <utility/vector1.hh>
33 #include <ObjexxFCL/FArray1D.fwd.hh>
34 
35 namespace protocols {
36 namespace rna {
37 
38 /// @brief The RNA de novo structure modeling protocol
40 
41 public:
42  /// @brief Construct the protocol object given
43  /// the RNA fragment library to use.
44  RNA_FragmentMover( RNA_FragmentsOP all_rna_fragments,
45  protocols::toolbox::AllowInsertOP allow_insert );
46 
47  // is this defunct now? I think so.
48  RNA_FragmentMover( RNA_FragmentsOP all_rna_fragments,
49  ObjexxFCL::FArray1D<bool> const & allow_insert,
50  core::pose::Pose const & pose );
51 
52 
54 
55  /// @brief Apply the loop-rebuild protocol to the input pose
56  void apply( core::pose::Pose & pose );
57 
58  virtual std::string get_name() const;
59 
61  random_fragment_insertion( core::pose::Pose & pose, Size const & frag_size );
62 
63  // is this defunct now? I think so.
64  void
66  Size const fragment_size
67  );
68 
69 private:
70 
71  void
72  update_insert_map( core::pose::Pose const & pose );
73 
76 
77  std::map < Size, Size > insert_map_;
81 
82 }; // class RNA_FragmentMover
83 
84 
85 } //rna
86 } // protocols
87 
88 #endif