00001 /* Last edited: May 18 16:49 2001 (ac2) */ 00002 00003 // ####################################################################### 00004 00005 // SSAHA : Sequence Search and Alignment by Hashing Algorithm 00006 // Version 3.2, released 1st March 2004 00007 // Copyright (c) Genome Research 2002 00008 00009 // SSAHA is free software; you can redistribute it and/or modify 00010 // it under the terms of version 2 of the GNU General Public Licence 00011 // as published by the Free Software Foundation. 00012 00013 // This program is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 // GNU General Public Licence for more details. 00017 00018 // You should have received a copy of the GNU General Public Licence 00019 // along with this program; if not, write to the Free Software 00020 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 // or see the on-line version at http://www.gnu.org/copyleft/gpl.txt 00022 00023 // ####################################################################### 00024 00025 // Module Name : MatchStoreUngapped 00026 // File Name : MatchStoreUngapped.h 00027 // Language : C++ 00028 // Module Author: Anthony J. Cox (ac2@sanger.ac.uk) 00029 00030 // Include guard: 00031 #ifndef INCLUDED_MatchStoreUngapped 00032 #define INCLUDED_MatchStoreUngapped 00033 00034 // Description: 00035 00036 // Includes: 00037 00038 #include "QueryManager.h" 00039 #include "GlobalDefinitions.h" 00040 #include <vector> 00041 #include <utility> // ... for 'pair' 00042 #include <iosfwd> 00043 #include <string> 00044 #include "MatchStore.h" 00045 #include "HashTable.h" 00046 #include "MatchStoreGapped.h" 00047 // NB it is good practise for #include statements in header files to be 00048 // replaced by forward declarations if at all possible 00049 00050 00051 // ### Class Declarations ### 00052 00053 00054 00055 00056 00057 00058 class MatchAlgorithmUngapped : public MatchAlgorithm 00059 { 00060 public: 00061 MatchAlgorithmUngapped 00062 ( int minToProcess, int numRepeats ): 00063 minToProcess_( minToProcess ), 00064 MatchAlgorithm( numRepeats ) 00065 {} 00066 00067 virtual void generateMatches 00068 ( HitListVector& hitList, MatchAdder& addMatch ); 00069 00070 00071 private: 00072 int minToProcess_; 00073 }; 00074 00075 00076 // ### Function Declarations ### 00077 00078 // Name: 00079 // Arguments: 00080 // TYPE NAME IN/OUT COMMENT 00081 // Returns: TYPE COMMENT 00082 00083 // End of include guard: 00084 #endif 00085 00086 // End of file MatchStoreUngapped.h
1.5.2