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
sequence
L1ScoringScheme.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 L1ScoringScheme.hh
11
/// @brief class definition for a profile-profile scoring scheme for
12
/// comparing two sequence profiles using the L1 city-block distance.
13
/// @detailed Simply based on comparing single profiles from two protein
14
/// sequences by computing the sum of P(A) - P(B) for all matching probabilities
15
/// in the profiles A and B. Also includes with affine gap penalties of the form
16
/// penalty = A + Bk, where A represents the penalty for starting a gap, and B
17
/// represents the penalty for extending a previously opened gap by k
18
/// characters.
19
/// @author James Thompson
20
21
#ifndef INCLUDED_core_sequence_L1ScoringScheme_hh
22
#define INCLUDED_core_sequence_L1ScoringScheme_hh
23
24
#include <
core/types.hh
>
25
// AUTO-REMOVED #include <utility/vector1.hh>
26
#include <
core/sequence/ScoringScheme.hh
>
27
28
namespace
core {
29
namespace
sequence {
30
31
class
L1ScoringScheme
:
public
ScoringScheme
{
32
public
:
33
34
/// @brief ctor
35
L1ScoringScheme
(
36
Real
open = -4,
37
Real
extend
= -1
38
)
39
{
40
gap_open
( open );
41
gap_extend
(
extend
);
42
type
(
"L1"
);
43
}
44
45
ScoringSchemeOP
clone
()
const
{
46
return
new
L1ScoringScheme
(
47
gap_open
(),
48
gap_extend
()
49
);
50
}
51
52
/// @brief dtor
53
virtual
~L1ScoringScheme
() {}
54
55
virtual
Real
score
(
SequenceOP
seq1,
SequenceOP
seq2,
Size
pos1,
Size
pos2 );
56
};
// class L1ScoringScheme
57
58
}
// sequence
59
}
// core
60
61
#endif
Generated on Sat Jun 1 2013 11:40:22 for Rosetta 3.5 by
1.8.4