Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
swa
monte_carlo
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>
24
#include <
protocols/swa/monte_carlo/SubToFullInfo.fwd.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
,
44
utility::vector1< Size >
moving_res_list
,
45
std::string
full_sequence
,
46
utility::vector1< Size >
cutpoints_in_full_pose
);
//proper constructor
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
59
utility::vector1< Size >
moving_res_list
(){
return
moving_res_list_
;}
60
61
// properties of full model.
62
std::string
full_sequence
(){
return
full_sequence_
;}
63
64
utility::vector1< Size >
cutpoints_in_full_pose
(){
return
cutpoints_in_full_pose_
;}
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.
75
utility::vector1< Size >
moving_res_list_
;
76
77
// properties of full model.
78
std::string
full_sequence_
;
79
utility::vector1< Size >
cutpoints_in_full_pose_
;
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
85
SubToFullInfo
&
86
nonconst_sub_to_full_info_from_pose
(
core::pose::Pose
& pose );
87
88
void
89
reorder_sub_to_full_info_after_delete
(
core::pose::Pose
& pose,
core::Size
const
res_to_delete );
90
91
void
92
reorder_sub_to_full_info_after_append
(
core::pose::Pose
& pose,
core::Size
const
res_to_add );
93
94
void
95
reorder_sub_to_full_info_after_prepend
(
core::pose::Pose
& pose,
core::Size
const
res_to_add );
96
97
98
}
99
}
100
}
101
#endif
Generated on Sat Jun 1 2013 12:19:01 for Rosetta 3.5 by
1.8.4