Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CompassScoringScheme.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 CompassScoringScheme.hh
11 /// @brief class definition for a profile-profile scoring scheme for
12 /// comparing two sequence profiles using the Compass method, published
13 /// by Sadreyev and Grishin.
14 /// @author James Thompson
15 
16 #ifndef INCLUDED_core_sequence_CompassScoringScheme_hh
17 #define INCLUDED_core_sequence_CompassScoringScheme_hh
18 
19 #include <core/types.hh>
22 
23 namespace core {
24 namespace sequence {
25 
27 public:
28 
29  /// @brief ctor
31  Real open = -4,
32  Real extend = -1
33  )
34  {
35  gap_open ( open );
36  gap_extend( extend );
37  type("Compass");
38  }
39 
41  return new CompassScoringScheme(
42  gap_open(),
43  gap_extend()
44  );
45  }
46 
47  /// @brief dtor
48  virtual ~CompassScoringScheme() {}
49 
50  virtual Real score( SequenceOP seq1, SequenceOP seq2, Size pos1, Size pos2 );
51 }; // class CompassScoringScheme
52 
53 } // sequence
54 } // core
55 
56 #endif