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
rotamer_recovery
RRProtocol.cc
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 src/protocols/rotamer_recovery/RRProtocol.cc
11
/// @author Matthew O'Meara (mattjomeara@gmail.com)
12
13
// Unit Headers
14
#include <
protocols/rotamer_recovery/RRProtocol.hh
>
15
#include <
protocols/rotamer_recovery/RRComparer.hh
>
16
#include <
protocols/rotamer_recovery/RRReporter.hh
>
17
18
// Project Headers
19
// AUTO-REMOVED #include <core/chemical/ResidueType.hh>
20
// AUTO-REMOVED #include <core/conformation/Residue.hh>
21
#include <basic/Tracer.hh>
22
23
// C++ Headers
24
// AUTO-REMOVED #include <string>
25
26
#include <utility/vector1.hh>
27
28
29
using
std::string
;
30
using
std::endl;
31
using
core::Size
;
32
using
core::Real
;
33
using
core::conformation::Residue
;
34
using
core::pose::Pose
;
35
using
basic::Tracer;
36
37
namespace
protocols {
38
namespace
rotamer_recovery {
39
40
/// @details Auto-generated virtual destructor
41
RRProtocol::~RRProtocol
() {}
42
43
static
Tracer
TR
(
"protocol.moves.RRProtocol"
);
44
45
bool
46
RRProtocol::measure_rotamer_recovery
(
47
RRComparerOP
comparer,
48
RRReporterOP
reporter,
49
Pose
const
& pose1,
50
Pose
const
& pose2,
51
Residue
const
& res1,
52
Residue
const
& res2
53
) {
54
55
Real
score;
56
bool
recovered;
57
if
(comparer->measure_rotamer_recovery(
58
pose1, pose2, res1, res2, score, recovered)){
59
reporter->report_rotamer_recovery(
60
pose1, pose2, res1, res2, score, recovered );
61
}
62
return
recovered;
63
}
64
65
}
// rotamer_recovery
66
}
// protocols
Generated on Sat Jun 1 2013 12:10:18 for Rosetta 3.5 by
1.8.4