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
core
fragment
picking_old
vall
eval
VallFragmentEval.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 core/fragment/picking_old/vall/eval/VallFragmentEval.cc
11
/// @brief base class for Vall ExtentEvaluator
12
/// @author Yih-En Andrew Ban (yab@u.washington.edu)
13
14
// unit headers
15
#include <
core/fragment/picking_old/vall/eval/VallFragmentEval.hh
>
16
17
// package headers
18
#include <
core/fragment/picking_old/vall/scores/VallFragmentScore.hh
>
19
20
#include <
core/fragment/picking_old/concepts/Extent.hh
>
21
#include <utility/vector1.hh>
22
23
24
25
namespace
core {
26
namespace
fragment {
27
namespace
picking_old {
28
namespace
vall {
29
namespace
eval {
30
31
32
/// @brief default constructor
33
VallFragmentEval::VallFragmentEval
() :
34
Super
()
35
{}
36
37
38
/// @brief default copy constructor
39
VallFragmentEval::VallFragmentEval
(
VallFragmentEval
const
& rval ) :
40
Super
( rval )
41
{}
42
43
44
/// @brief default destructor
45
VallFragmentEval::~VallFragmentEval
()
46
{}
47
48
49
/// @brief copy assignment
50
VallFragmentEval
&
VallFragmentEval::operator =
(
VallFragmentEval
const
& rval ) {
51
if
(
this
!= &rval ) {
52
Super::operator =( rval );
53
}
54
return
*
this
;
55
}
56
57
58
/// @brief called by VallLibrarian: for a fragment extent, evaluate and store
59
/// results in a VallFragmentScore
60
/// @return true if score should be stored, false otherwise
61
bool
VallFragmentEval::operator ()
(
62
Extent
const
& extent,
63
VallFragmentScore
& fs
64
)
65
{
66
// store part of the extent data
67
fs.
extent_begin
= extent.
begin
;
68
fs.
extent_end
= extent.
end
;
69
70
// evaluate the extent
71
return
eval_impl
( extent, fs );
72
}
73
74
75
}
// namespace eval
76
}
// namespace vall
77
}
// namespace picking_old
78
}
// namespace fragment
79
}
// namespace core
Generated on Sat Jun 1 2013 11:32:38 for Rosetta 3.5 by
1.8.4