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
ConstraintFragmentMover.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
// :noTabs=false:tabSize=4:indentSize=4:
4
//
5
// (c) Copyright Rosetta Commons Member Institutions.
6
// (c) This file is part of the Rosetta software suite and is made available under license.
7
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10
11
12
/// @brief set of fragments for a certain alignment frame
13
/// @author Oliver Lange (olange@u.washington.edu)
14
/// @date Wed Oct 20 12:08:31 2007
15
///
16
17
18
#ifndef INCLUDED_protocols_simple_moves_ConstraintFragmentMover_HH
19
#define INCLUDED_protocols_simple_moves_ConstraintFragmentMover_HH
20
21
// Unit Headers
22
//#include <protocols/simple_moves/ConstraintFragmentMover.fwd.hh>
23
#include <
protocols/simple_moves/SmoothFragmentMover.hh
>
24
25
// Package Headers
26
#include <
protocols/simple_moves/FragmentMover.fwd.hh
>
27
28
// Project Headers
29
#include <
core/types.hh
>
30
#include <
core/fragment/FragSet.hh
>
31
#include <
core/pose/Pose.fwd.hh
>
32
33
#include <
core/kinematics/MoveMap.hh
>
34
35
// Utility headers
36
#include <utility/vector1.fwd.hh>
37
38
namespace
protocols {
39
namespace
simple_moves {
40
41
typedef
utility::vector1< core::Real >
ScoreList
;
42
43
44
class
ConstraintFragmentMover
:
public
ClassicFragmentMover
{
45
public
:
46
ConstraintFragmentMover
(
47
core::fragment::FragSetCOP
fragset,
48
core::kinematics::MoveMapCOP
movemap
,
49
FragmentCostOP
cost )
50
:
51
ClassicFragmentMover
( fragset, movemap,
"SmoothFragmentMover_"
+cost->
type
() ),
52
cost_
( cost )
53
{}
54
55
// void apply( core::pose::Pose & );
56
protected
:
57
ConstraintFragmentMover
(
58
core::fragment::FragSetCOP
fragset,
59
core::kinematics::MoveMapCOP
movemap
,
60
FragmentCostOP
cost,
61
std::string
move_type ) :
62
ClassicFragmentMover
( fragset, movemap, move_type+
"_"
+cost->
type
() ),
63
cost_
( cost ) {}
64
65
// frame and fragment of choice, returns false if no good fragment is found
66
bool
choose_fragment
(
core::fragment::FrameList
const
&,
core::pose::Pose
const
&,
Size
&frame_num,
Size
&frag_num );
67
68
private
:
69
FragmentCostOP
cost_
;
70
71
// choose randomly fragments that are below cutoff_
72
core::Real
cutoff_
;
73
74
};
75
76
}
//simple_moves
77
}
//protocols
78
79
#endif
Generated on Sat Jun 1 2013 12:15:21 for Rosetta 3.5 by
1.8.4