[project @ 4]
[mussa.git] / mussa_nway.hh
1 //                        ----------------------------------------
2 //                         ----------  mussa_nway.hh  -----------
3 //                        ----------------------------------------
4
5 #include "flp.hh"
6
7
8 class Nway_Paths
9 {
10   friend class ConnView;
11   friend class SeqView;
12   private:
13     int species_num;
14     int threshold;
15     int win_size;
16     list<vector<int> > pathz;
17     list<vector<int> > refined_pathz;
18
19
20   public:
21     Nway_Paths();
22     void setup(int sp_num, int w, int t);
23     void find_paths_r(vector<vector<FLPs> > all_comparisons);
24     void path_search(vector<vector<FLPs> > all_comparisons, vector<int> path, int depth);
25     void simple_refine();
26     void save(string save_file_path);
27     int load(string load_file_path);
28     void add_path(vector<int> loaded_path);
29
30     void find_paths(vector<vector<FLPs> > all_comparisons);
31     void refine();
32
33     void save_old(string save_file_path);
34     void print();
35 };