1 // ----------------------------------------
2 // ---------- flp.hh -----------
3 // ----------------------------------------
8 // FLP = Fixed Length Pairs (Data)
9 // vector of linked lists of the match type struct
15 int seq1_length, seq2_length, seq1_win_num, seq2_win_num;
30 void setup(string type, int win_size, int hard_thres, int len1, int len2);
31 inline void add(int seq1_i, int seq2_i, int a_score, int i2_offset);
32 void seqcomp(string seq1, string seq2, bool is_RC);
33 //bool FLPs::match_less(match *match1, match *match2);
35 list<int> matches(int index);
36 //version with int threshold
37 list<int> thres_matches(int index, int thres);
39 void file_save(string save_file_path);
40 void file_load(string file_path);
42 vector<list<match> > all_matches;