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
ProfileScoreL1.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/ProfileScore.hh
11
/// @brief scores a fragment by L1 profile score
12
/// @author Dominik Gront (dgront@chem.uw.edu.pl)
13
14
#ifndef INCLUDED_protocols_frag_picker_scores_ProfileScoreL1_hh
15
#define INCLUDED_protocols_frag_picker_scores_ProfileScoreL1_hh
16
17
// type headers
18
#include <
core/types.hh
>
19
20
21
// package headers
22
#include <
protocols/frag_picker/scores/CachingScoringMethod.hh
>
23
#include <
protocols/frag_picker/scores/FragmentScoreMap.fwd.hh
>
24
#include <
protocols/frag_picker/scores/fragment_scoring_utilities.hh
>
25
26
// AUTO-REMOVED #include <core/sequence/SequenceProfile.hh>
27
28
#include <utility/vector1.hh>
29
30
31
namespace
protocols {
32
namespace
frag_picker {
33
namespace
scores {
34
35
class
ProfileScoreL1
;
36
typedef
utility::pointer::owning_ptr< ProfileScoreL1 >
ProfileScoreL1OP
;
37
typedef
utility::pointer::owning_ptr< ProfileScoreL1 const >
ProfileScoreL1COP
;
38
39
/// @brief a fragment candidate
40
class
ProfileScoreL1
:
public
CachingScoringMethod
{
41
public
:
42
43
ProfileScoreL1
(
Size
,
Real
,
bool
,
44
sequence::SequenceProfileOP
,
utility::vector1<Size>
&,
Size
);
45
~ProfileScoreL1
();
46
47
void
do_caching_simple
(
VallChunkOP
);
48
void
do_caching
(
VallChunkOP
);
49
void
clean_up
() {
50
}
51
bool
score
(
FragmentCandidateOP
,
FragmentScoreMapOP
);
52
bool
cached_score
(
FragmentCandidateOP
,
FragmentScoreMapOP
);
53
//bool describe_score(FragmentCandidateOP, FragmentScoreMapOP, std::ostream&);
54
protected
:
55
Matrix
scores_
;
56
utility::vector1< Matrix >
cache_
;
57
58
private
:
59
sequence::SequenceProfileOP
query_profile_
;
60
std::string
cached_scores_id_
;
61
void
clear
();
62
};
63
64
class
MakeProfileScoreL1
:
public
MakeFragmentScoringMethod
{
65
public
:
66
67
MakeProfileScoreL1
() :
68
MakeFragmentScoringMethod
(
"ProfileScoreL1"
) {
69
}
70
71
FragmentScoringMethodOP
make
(
Size
,
Real
,
bool
,
FragmentPickerOP
,
std::string
);
72
};
73
74
}
// scores
75
}
// frag_picker
76
}
// protocols
77
78
79
#endif
/* INCLUDED_protocols_frag_picker_scores_ProfileScoreL1_HH */
Generated on Sat Jun 1 2013 11:53:03 for Rosetta 3.5 by
1.8.4