3 // This file is part of the Mussa source distribution.
4 // http://mussa.caltech.edu/
5 // Contact author: Tristan De Buysscher, tristan@caltech.edu
7 // This program and all associated source code files are Copyright (C) 2005
8 // the California Institute of Technology, Pasadena, CA, 91125 USA. It is
9 // under the GNU Public License; please see the included LICENSE.txt
10 // file for more information, or contact Tristan directly.
13 // ----------------------------------------
14 // ---------- flp.hh -----------
15 // ----------------------------------------
22 // FLP = Fixed Length Pairs (Data)
23 // vector of linked lists of the match type struct
29 int seq1_length, seq2_length, seq1_win_num, seq2_win_num;
40 void setup(std::string type, int win_size, int hard_thres, int len1, int len2);
41 inline void add(int seq1_i, int seq2_i, int a_score, int i2_offset);
42 void seqcomp(std::string seq1, std::string seq2, bool is_RC);
43 //bool FLPs::match_less(match *match1, match *match2);
45 std::list<int> matches(int index);
46 //version with int threshold
47 std::list<int> thres_matches(int index, int thres);
49 void file_save(std::string save_file_path);
50 void file_load(std::string file_path);
52 std::vector<std::list<match> > all_matches;