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