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
evaluation
AlignEvaluator.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 AlignEvaluator
11
/// @brief base class for evaluators that evaluate based on some sort of sequence
12
/// alignment.
13
/// @author James Thompson
14
15
#ifndef INCLUDED_protocols_evaluation_AlignEvaluator_hh
16
#define INCLUDED_protocols_evaluation_AlignEvaluator_hh
17
18
#include <
core/sequence/SequenceAlignment.fwd.hh
>
19
#include <
protocols/evaluation/PoseEvaluator.hh
>
20
// AUTO-REMOVED #include <protocols/evaluation/util.hh>
21
22
#include <
core/io/silent/SilentStruct.fwd.hh
>
23
#include <
core/pose/Pose.fwd.hh
>
24
25
#include <utility/pointer/ReferenceCount.hh>
26
27
#include <
core/types.hh
>
28
29
#include <utility/exit.hh>
30
#include <utility/vector1.hh>
31
32
33
namespace
protocols {
34
namespace
evaluation {
35
36
class
AlignEvaluator
:
public
SingleValuePoseEvaluator
< core::Real > {
37
38
public
:
39
AlignEvaluator
(
40
core::pose::PoseCOP
native_pose
,
41
std::string
tag
=
""
,
42
bool
report_aln_components
=
true
,
43
core::sequence::SequenceAlignmentOP
aln = 0
44
);
45
46
~AlignEvaluator
();
47
48
virtual
void
apply
(
49
core::pose::Pose
& pose,
50
std::string
tag
,
51
core::io::silent::SilentStruct
& ss
52
)
const
= 0;
53
54
/// @brief outdated method - don't use!
55
virtual
core::Real
apply
(
56
core::pose::Pose
&
/*pose*/
57
)
const
{
58
utility_exit_with_message(
59
"Called AlignEvaluator::apply( Pose & pose ). Don't do that!\n"
60
);
61
return
0.0;
62
}
63
64
core::sequence::SequenceAlignmentOP
get_alignment
(
65
core::pose::Pose
const
& pose
66
)
const
;
67
68
void
report_aln_components
(
bool
const
setting );
69
70
bool
report_aln_components
()
const
;
71
72
std::string
tag
()
const
;
73
74
core::pose::PoseCOP
native_pose
()
const
;
75
76
private
:
77
core::pose::PoseCOP
native_pose_
;
78
std::string
tag_
;
79
bool
report_aln_components_
;
80
core::sequence::SequenceAlignmentOP
aln_
;
81
};
// AlignEvaluator
82
83
}
// evaluation
84
}
// protocols
85
86
#endif
Generated on Sat Jun 1 2013 11:48:50 for Rosetta 3.5 by
1.8.4