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
frag_picker
scores
ScoreEValuator.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/frag_picker/scores/ScoreEValuator.hh
11
/// @brief Object that scores a fragment by its crmsd to the native
12
/// @author Dominik Gront (dgront@chem.uw.edu.pl)
13
14
#ifndef INCLUDED_protocols_frag_picker_scores_ScoreEValuator_hh
15
#define INCLUDED_protocols_frag_picker_scores_ScoreEValuator_hh
16
17
// package headers
18
#include <
protocols/frag_picker/FragmentCandidate.fwd.hh
>
19
#include <
protocols/frag_picker/scores/ProfileScore.hh
>
20
#include <
protocols/frag_picker/scores/FragmentScoreMap.fwd.hh
>
21
22
#include <
core/types.hh
>
23
24
#include <utility/vector1.hh>
25
26
27
28
namespace
protocols {
29
namespace
frag_picker {
30
namespace
scores {
31
32
typedef
utility::vector1<utility::vector1<Real>
>
Matrix
;
33
34
/// @brief Computes E-Value for a Profile object
35
class
ScoreEValuator
:
public
ProfileScore
{
36
37
public
:
38
ScoreEValuator
(
Size
priority,
Real
lowest_acceptable_value,
39
bool
use_lowest,
sequence::SequenceProfileOP
query_profile,
40
sequence::ScoringSchemeOP
profile_scoring,
Size
largest_chunk_size) :
41
ProfileScore
(priority, lowest_acceptable_value, use_lowest, query_profile,
42
profile_scoring, largest_chunk_size) {
43
max_rand_
= 12;
44
}
45
46
void
do_caching
(
VallChunkOP
);
47
void
clean_up
();
48
bool
score
(
FragmentCandidateOP
,
FragmentScoreMapOP
);
49
//bool describe_score(FragmentCandidateOP f, FragmentScoreMapOP empty_map, std::ostream& out);
50
private
:
51
Size
max_rand_
;
52
};
53
54
class
MakeScoreEValuator
:
public
MakeFragmentScoringMethod
{
55
public
:
56
57
MakeScoreEValuator
() :
58
MakeFragmentScoringMethod
(
"ScoreEValuator"
) {
59
}
60
61
using
MakeFragmentScoringMethod::make
;
62
63
FragmentScoringMethodOP
make
(
Size
,
Real
,
bool
,
FragmentPickerOP
);
64
};
65
66
}
// scores
67
}
// frag_picker
68
}
// protocols
69
70
#endif
/* INCLUDED_protocols_frag_picker_scores_ScoreEValuator_HH */
Generated on Sat Jun 1 2013 11:53:05 for Rosetta 3.5 by
1.8.4