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
canonical_sampling
mc_convergence_checks
HPool.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/canonical_sampling/mc_convergence_checks/HPool.hh
11
/// @brief hierarchical pool
12
/// @author Yuan Liu (wendao@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_canonical_sampling_mc_convergence_checks_HPool_hh
15
#define INCLUDED_protocols_canonical_sampling_mc_convergence_checks_HPool_hh
16
17
#include <
protocols/moves/MonteCarloExceptionConverge.hh
>
18
#include <
protocols/canonical_sampling/mc_convergence_checks/Pool_ConvergenceCheck.hh
>
19
#include <
protocols/toolbox/DecoySetEvaluation.hh
>
20
#include <ObjexxFCL/FArray3D.hh>
21
#include <ObjexxFCL/FArray2D.hh>
22
#include <ObjexxFCL/FArray2.hh>
23
#include <
core/pose/Pose.hh
>
24
25
#include <
protocols/canonical_sampling/mc_convergence_checks/HPool.fwd.hh
>
26
#include <deque>
27
28
#include <utility/vector1.hh>
29
30
31
namespace
protocols {
32
namespace
canonical_sampling {
33
namespace
mc_convergence_checks {
34
35
class
HPool_RMSD
:
public
Pool_RMSD
36
{
37
public
:
38
HPool_RMSD
(
std::string
silent_file,
core::Size
lv=1);
39
40
//eval with a required radius
41
core::Size
evaluate
(
42
core::pose::Pose
& pose,
43
core::Real
resolution,
44
std::string
& best_decoy,
45
core::Real
& best_rmsd );
46
47
core::Size
evaluate
(
48
core::io::silent::SilentStruct
& pss,
49
core::Real
resolution,
50
std::string
& best_decoy,
51
core::Real
& best_rmsd );
52
53
//load the correspond subcluster
54
bool
load_lib
(
const
core::Size
);
55
//clear
56
//void clear_lib();
57
void
clear_lib
(
const
core::Size
);
58
//get_size
59
core::Size
get_size
(
core::Size
nsubc)
60
{
61
return
(
subpools_
[nsubc]())?
subpools_
[nsubc]->size():0;
62
}
63
64
//void add(core::pose::Pose const &, std::string &);
65
//void add(core::io::silent::SilentStruct const& pss, std::string &tag);
66
67
void
debug
();
68
69
private
:
70
void
build_pair_dis_matrix
();
71
core::Real
get_pair_dist
(
core::Size
,
core::Size
)
const
;
72
core::Real
dist_square
(ObjexxFCL::FArray2_double &, ObjexxFCL::FArray2_double &);
73
core::Real
dist_square
(
core::Size
,
core::Size
);
74
75
protected
:
76
//hierarchy evaluate FArray2D
77
core::Size
evaluate
(
78
ObjexxFCL::FArray2D_double
& coord,
79
core::Real
resolution,
80
std::string
& best_decoy,
81
core::Real
& best_rmsd );
82
83
//fast eval returns the index and tags at
84
core::Size
evaluate_core
(
85
ObjexxFCL::FArray2D_double
& coord,
86
std::string
& best_decoy,
87
core::Real
& best_rmsd,
88
core::Size
index )
const
;
89
90
void
add
(
ObjexxFCL::FArray2D_double
&,
std::string
&);
91
92
private
:
93
utility::vector1< HPool_RMSD_OP >
subpools_
;
94
utility::vector1< core::Real >
pair_dis_
;
95
std::string
silent_file_
;
96
std::string
tag_prefix_
;
97
core::Size
old_size_
;
98
core::Size
level_
;
99
core::Size
n_extra_
;
100
core::Real
radius_
;
101
bool
has_child_
;
102
103
//deque
104
std::deque< core::Size >
sub_ndx_deque_
;
105
};
106
107
std::string
lib_full_path
(
std::string
tag);
108
109
}
//mc_conv
110
}
//moves
111
}
//prot
112
113
#endif
114
Generated on Sat Jun 1 2013 11:44:01 for Rosetta 3.5 by
1.8.4