1 // This file is part of the Mussa source distribution.
2 // http://mussa.caltech.edu/
3 // Contact author: Tristan De Buysscher, tristan@caltech.edu
5 // This program and all associated source code files are Copyright (C) 2005
6 // the California Institute of Technology, Pasadena, CA, 91125 USA. It is
7 // under the GNU Public License; please see the included LICENSE.txt
8 // file for more information, or contact Tristan directly.
11 // ----------------------------------------
12 // ---------- mussa_nway.hh -----------
13 // ----------------------------------------
20 friend class ConnView;
29 vector<char *> c_sequences;
31 list<vector<int> > pathz;
32 list<vector<int> > refined_pathz;
38 void setup(int sp_num, int w, int t);
39 void setup_ent(double new_entropy_thres, vector<string> some_Seqs);
40 void set_soft_thres(int soft_thres);
42 void radiate_path_search(vector<vector<FLPs> > all_comparisons);
43 void trans_path_search(vector<vector<FLPs> > all_comparisons);
44 void entropy_path_search(vector<vector<FLPs> > all_comparisons);
45 double path_entropy(vector<int> path);
47 // old recursive transitive nway ... has issues checking all links?
48 void find_paths_r(vector<vector<FLPs> > all_comparisons);
49 void path_search(vector<vector<FLPs> > all_comparisons, vector<int> path, int depth);
52 void save(string save_file_path);
53 string load(string load_file_path);
54 void add_path(vector<int> loaded_path);
57 void find_paths(vector<vector<FLPs> > all_comparisons);
60 void save_old(string save_file_path);