Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SubToFullInfo.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 core/scoring/methods/SubToFullInfo.hh
11 /// @brief Statistically derived rotamer pair potential class implementation
12 /// @author Phil Bradley
13 /// @author Andrew Leaver-Fay
14 
15 #ifndef INCLUDED_protocols_swa_monte_carlo_SubToFullInfo_hh
16 #define INCLUDED_protocols_swa_monte_carlo_SubToFullInfo_hh
17 
18 #include <core/types.hh>
19 
20 // Project headers
21 #include <core/pose/Pose.fwd.hh>
22 #include <utility/vector1.fwd.hh>
23 #include <basic/datacache/CacheableData.hh>
25 
26 // C++
27 #include <string>
28 #include <map>
29 
30 namespace protocols {
31 namespace swa {
32 namespace monte_carlo {
33 
34 ////////////////////////////////////////////////////////////////////////////////////////////////////
35 /// @brief Keep track of RNA centroid information inside the pose.
36 //// Rhiju move this to its own namespace!
37 class SubToFullInfo: public basic::datacache::CacheableData {
38 
39 public:
40 
41  SubToFullInfo(); //empty...
42 
43  SubToFullInfo( std::map< Size, Size > sub_to_full,
47 
48  SubToFullInfo( SubToFullInfo const & src );
49 
50  basic::datacache::CacheableDataOP
51  clone() const
52  {
53  return new SubToFullInfo( *this );
54  }
55 
56  // properties of current, working pose
57  std::map< Size, Size > sub_to_full(){ return sub_to_full_;} //mapping from working pose to full pose.
58 
60 
61  // properties of full model.
63 
65 
66  // properties of current, working pose
67  void set_sub_to_full( std::map< Size, Size > & setting ){ sub_to_full_ = setting;} //mapping from working pose to full pose.
68 
69  void set_moving_res_list( utility::vector1< Size > & moving_res_list );
70 
71 private:
72 
73  // properties of current, working pose
74  std::map< Size, Size > sub_to_full_; //mapping from working pose to full pose.
76 
77  // properties of full model.
80 
81 };
82 
83 // Undefinded, commenting out to fix PyRosetta build SubToFullInfo const & sub_to_full_info_from_pose( core::pose::Pose const & pose );
84 
87 
88 void
90 
91 void
93 
94 void
96 
97 
98 }
99 }
100 }
101 #endif