]> git.donarmstrong.com Git - mothur.git/blobdiff - bayesian.h
added odum, canberra, structchi2, structchord, structeuclidean, gower, hellinger...
[mothur.git] / bayesian.h
index 6e35e9f8bd485734962e55a140f2dbb134cc8110..a1f693bb8f815dd0a6cb1d6155e9c032caf6fcea 100644 (file)
@@ -19,13 +19,13 @@ class Bayesian : public Classify {
        
 public:
        Bayesian(string, string, string, int, int, int);
-       ~Bayesian() {};
+       ~Bayesian();
        
        string getTaxonomy(Sequence*);
        
 private:
        vector< vector<float> > wordGenusProb;  //vector of maps from genus to probability
-                                                                                               //wordGenusProb[0][392] = probability that a sequence within genus that's index in the tree is 392 would contain kmer 0;
+                                                                               //wordGenusProb[0][392] = probability that a sequence within genus that's index in the tree is 392 would contain kmer 0;
        
        vector<int> genusTotals;
        vector<int> genusNodes;  //indexes in phyloTree where genus' are located
@@ -34,7 +34,8 @@ private:
        
        string bootstrapResults(vector<int>, int, int);
        int getMostProbableTaxonomy(vector<int>);
-       void readProbFile(ifstream&, ifstream&);
+       void readProbFile(ifstream&, ifstream&, string, string);
+       bool checkReleaseDate(ifstream&, ifstream&, ifstream&, ifstream&);
        
 };