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
forge
remodel
RemodelAccumulator.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/forge/remodel/RemodelAccumulator.hh
11
/// @brief
12
/// @author Possu Huang ( possu@uw.edu )
13
///
14
15
#ifndef INCLUDED_protocols_forge_remodel_RemodelAccumulator_hh
16
#define INCLUDED_protocols_forge_remodel_RemodelAccumulator_hh
17
18
#include <
protocols/cluster/cluster.hh
>
19
//#include <protocols/forge/remodel/RemodelData.hh>
20
#include <
protocols/forge/remodel/RemodelWorkingSet.hh
>
21
#include <
core/scoring/ScoreFunction.fwd.hh
>
22
#include <
core/scoring/ScoreFunctionFactory.hh
>
23
24
#include <utility/vector1.hh>
25
26
27
namespace
protocols {
28
namespace
forge {
29
namespace
remodel {
30
31
class
RemodelAccumulator
:
public
protocols::moves::Mover
{
32
33
private
:
// typedefs
34
35
typedef
protocols::moves::Mover
Super
;
36
37
public
:
// typedefs
38
39
typedef
core::Real
Real
;
40
typedef
core::Size
Size
;
41
42
typedef
core::kinematics::MoveMap
MoveMap
;
43
typedef
core::pose::Pose
Pose
;
44
typedef
core::scoring::ScoreFunctionOP
ScoreFunctionOP
;
45
typedef
core::scoring::ScoreFunctionCOP
ScoreFunctionCOP
;
46
typedef
core::scoring::ScoreFunction
ScoreFunction
;
47
typedef
core::scoring::ScoreFunctionFactory
ScoreFunctionFactory
;
48
typedef
core::pack::task::PackerTaskOP
PackerTaskOP
;
49
typedef
core::pack::task::PackerTask
PackerTask
;
50
typedef
protocols::moves::MoverOP
MoverOP
;
51
typedef
protocols::forge::remodel::RemodelData
RemodelData
;
52
typedef
utility::pointer::owning_ptr< protocols::cluster::ClusterPhilStyle >
ClusterPhilStyleOP
;
53
54
55
public
:
//constructor/destructor
56
57
RemodelAccumulator
();
58
59
//RemodelAccumulator(RemodelData remodeldata);
60
RemodelAccumulator
(
WorkingRemodelSet
& working_model);
61
62
virtual
63
~RemodelAccumulator
();
64
65
public
:
// virtual constructors
66
67
virtual
68
MoverOP
clone
()
const
;
69
70
virtual
71
MoverOP
fresh_instance
()
const
;
72
73
public
:
// options
74
75
public
:
76
77
void
keep_top_pose
(
core::Size
num_to_keep);
78
void
cluster_pose
();
79
void
cluster_loop
();
80
81
virtual
void
apply
(
Pose
& pose);
82
virtual
std::string
get_name
()
const
;
83
84
85
private
:
// data
86
87
bool
cluster_switch_
;
// check cluster radius for on/off state. 0 radius is no clustering
88
89
//RemodelData remodel_data_; // design mode determined in here
90
WorkingRemodelSet
working_model_
;
91
//PackerTask packer_task_;
92
ScoreFunctionOP
sfxn_
;
93
//MoveMap move_map_;
94
ClusterPhilStyleOP
cluster_
;
95
std::multimap<core::Real,core::pose::PoseOP>
pose_store_
;
96
97
public
:
// accessors
98
core::Size
recover_checkpoint
();
99
100
void
write_checkpoint
(
core::Size
progress_point);
101
102
bool
cluster_switch
();
103
104
//ScoreFunction const & scorefunction() const;
105
106
//MoveMap const & movemap() const;
107
108
//PackerTask const & packertask() const;
109
110
void
run_cluster
();
111
void
shrink_cluster
(
core::Size
num_top);
112
std::vector<core::pose::PoseOP>
clustered_best_poses
();
113
std::vector<core::pose::PoseOP>
contents_in_pose_store
();
114
std::vector<core::pose::PoseOP>
clustered_top_poses
(
core::Size
count);
115
};
116
117
}
// namespace remodel
118
}
// namespace forge
119
}
// namespace protocols
120
121
#endif
/* INCLUDED_protocols_forge_remodel_RemodelAccumulator_HH */
Generated on Sat Jun 1 2013 11:52:02 for Rosetta 3.5 by
1.8.4