Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NWAligner.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 NWAligner.hh
11 /// @brief class definition for a class that aligns two Sequence objects using a
12 /// the Needleman-Wunsch alignment algorithm.
13 /// @author James Thompson
14 
15 #ifndef INCLUDED_core_sequence_NWAligner_hh
16 #define INCLUDED_core_sequence_NWAligner_hh
17 
18 #include <core/types.hh>
19 
21 
22 #include <core/sequence/Aligner.hh>
26 
27 namespace core {
28 namespace sequence {
29 
30 class NWAligner : public Aligner {
31 
32 public:
33 
34  /// @brief ctor
35  NWAligner() {}
36 
37  /// @brief dtor
38  virtual ~NWAligner() {}
39 
40  virtual
42  SequenceOP seq_y,
43  SequenceOP seq_x,
45  );
46 
47  static void init_matrix(
48  Size y_len,
49  Size x_len,
50  ScoringSchemeOP ss,
51  DP_Matrix & scores
52  );
53 
54 }; // class NWAligner
55 
56 } // sequence
57 } // core
58 
59 #endif