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
flexpack
annealer
FlexbbSimAnnealer.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 protocols/flexpack/annealer/FlexbbSimAnnealer
11
/// @brief
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
#ifndef INCLUDED_protocols_flexpack_annealer_FlexbbSimAnnealer_hh
15
#define INCLUDED_protocols_flexpack_annealer_FlexbbSimAnnealer_hh
16
17
/// Unit headers
18
#include <
protocols/flexpack/annealer/FlexbbSimAnnealer.fwd.hh
>
19
20
/// Package headers
21
#include <
protocols/flexpack/interaction_graph/FlexbbInteractionGraph.fwd.hh
>
22
#include <
protocols/flexpack/rotamer_set/FlexbbRotamerSets.fwd.hh
>
23
24
/// Project headers
25
#include <
core/pack/annealer/SimAnnealerBase.hh
>
26
27
#include <utility/vector1.fwd.hh>
28
29
30
31
namespace
protocols {
32
namespace
flexpack {
33
namespace
annealer {
34
35
class
FlexbbSimAnnealer
:
public
core::pack::annealer::SimAnnealerBase
36
{
37
public
:
38
typedef
core::pack::annealer::SimAnnealerBase
parent
;
39
typedef
core::Size
Size
;
40
typedef
core::PackerEnergy
PackerEnergy
;
41
42
public
:
43
FlexbbSimAnnealer
(
44
ObjexxFCL::FArray1D_int &
bestrotamer_at_seqpos
,
45
PackerEnergy
&
bestenergy
,
46
bool
start_with_current
,
// start simulation with current rotamers
47
interaction_graph::FlexbbInteractionGraphOP
ig,
48
rotamer_set::FlexbbRotamerSetsCOP
rotsets,
49
ObjexxFCL::FArray1D_int &
current_rot_index
,
50
bool
calc_rot_freq
,
51
ObjexxFCL::FArray1D< PackerEnergy > &
rot_freq
52
);
53
54
virtual
~FlexbbSimAnnealer
();
55
56
void
run
();
57
58
protected
:
59
60
Size
61
pick_a_rotamer
(
62
Size
outercycle,
63
Size
innercycle,
64
Size
cycle_number,
65
utility::vector1< Size >
& accessible_state_list
66
)
const
;
67
68
bool
69
pass_metropolis_multiple_nodes_changing
(
70
PackerEnergy
previous_fragmentE,
71
PackerEnergy
deltaE,
72
Size
num_changing_nodes
73
)
const
;
74
75
private
:
76
77
interaction_graph::FlexbbInteractionGraphOP
ig_
;
78
rotamer_set::FlexbbRotamerSetsCOP
rotsets_
;
79
80
FlexbbSimAnnealer
(
const
FlexbbSimAnnealer
& rhs);
81
82
};
83
84
85
}
86
}
87
}
88
89
#endif
Generated on Sat Jun 1 2013 11:50:19 for Rosetta 3.5 by
1.8.4