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
simple_moves
RepackSidechainsMover.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
11
/// @brief
12
/// @author Oliver Lange
13
14
15
#ifndef INCLUDED_protocols_simple_moves_RepackSidechainsMover_hh
16
#define INCLUDED_protocols_simple_moves_RepackSidechainsMover_hh
17
18
// Unit headers
19
#include <
protocols/simple_moves/RepackSidechainsMover.fwd.hh
>
20
#include <
protocols/moves/Mover.hh
>
21
22
// Project headers
23
#include <
core/types.hh
>
24
25
#include <
core/pose/Pose.fwd.hh
>
26
#include <
core/scoring/ScoreFunction.hh
>
27
28
#include <utility/vector1.hh>
29
30
31
32
33
namespace
protocols {
34
namespace
simple_moves {
35
36
/// @brief A protocols::moves::Mover that packs the side-chains (very similar to pack_missing_sidechains()
37
38
class
RepackSidechainsMover
:
public
protocols::moves::Mover
{
39
public
:
40
typedef
core::scoring::ScoreFunctionCOP
ScoreFunctionCOP
;
41
42
public
:
43
///@brief default constructor
44
RepackSidechainsMover
();
45
46
/// @brief constructor with typename
47
// protocols::simple_moves::RepackSidechainsMover( std::string const & );
48
49
/// @brief Constructs a RepackSidechainsMover with PackerTask <task>
50
/// evaluated using <scorefxn>
51
///
52
/// ScoreFunction scorefxn /function to minimize while changine rotamers
53
/// PackerTask task /object specifying what to design/pack
54
/// Size (int) nloop /number of loops in the Pose (???)
55
RepackSidechainsMover
(
56
ScoreFunctionCOP
scorefxn
57
);
58
59
// copy constructor
60
RepackSidechainsMover
(
RepackSidechainsMover
const
& other );
61
62
virtual
void
apply
(
Pose
& pose );
63
virtual
std::string
get_name
()
const
;
64
65
///@brief parse XML (specifically in the context of the parser/scripting scheme)
66
virtual
void
parse_my_tag
(
67
TagPtr
const
,
68
protocols::moves::DataMap
&,
69
Filters_map
const
&,
70
protocols::moves::Movers_map
const
&,
71
Pose
const
& );
72
73
///@brief parse "scorefxn" XML option (can be employed virtually by derived Packing movers)
74
virtual
void
parse_score_function
(
75
TagPtr
const
,
76
protocols::moves::DataMap
const
&,
77
Filters_map
const
&,
78
protocols::moves::Movers_map
const
&,
79
Pose
const
& );
80
81
///@brief required in the context of the parser/scripting scheme
82
virtual
protocols::moves::MoverOP
fresh_instance
()
const
;
83
84
///@brief required in the context of the parser/scripting scheme
85
virtual
protocols::moves::MoverOP
clone
()
const
;
86
87
void
set_scorefxn
(
ScoreFunctionCOP
sf );
88
89
ScoreFunctionCOP
scorefxn
()
const
{
return
scorefxn_
; };
90
91
protected
:
92
private
:
93
// pointers to data that are passed in
94
ScoreFunctionCOP
scorefxn_
;
95
};
96
97
// note: it is better to create new files, instead of adding additional classes here
98
99
}
// moves
100
}
// protocols
101
102
#endif
Generated on Sat Jun 1 2013 12:16:40 for Rosetta 3.5 by
1.8.4