X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=calculator.h;h=4cc32806ff7536908c5f75a233e255dd321dd72a;hb=e4827e0945cbda536064e5a345996b2a7dfcbb81;hp=c87d5c7ca305dc229110f8c81577a5af7c98fd40;hpb=eb1c88346fb246e95a6b38935b103f95e38b82ca;p=mothur.git diff --git a/calculator.h b/calculator.h index c87d5c7..4cc3280 100644 --- a/calculator.h +++ b/calculator.h @@ -4,7 +4,6 @@ using namespace std; #include "mothur.h" -#include "utilities.hpp" #include "sabundvector.hpp" #include "sharedsabundvector.h" #include "rabundvector.hpp" @@ -80,27 +79,6 @@ class VecCalc vector getSData(char[]);//This takes a file name as a parameter and reads all of the data in the file into a vector. }; -/**************************************************************************************************/ -/*This Class contains methods that return the B Diverstiy of two sets -of data. The four methods are the Whittaker's measure, the Marczewski-Stainhaus distance, -the Sorensen quantitative index, and the Morisita-Horn index. -The main method takes a number of columns of data and performs all 4 methods on each -combination of columns. It prints a table for every method that shows the B Diverstiy for -each combination. It also calculates the overall diversity for Whittaker's measure and -the Marczewski-Steinhaus distance.*/ - - -/*class BDiversity -{ - public: - void doBD(vector, double);//Main method - double getWhitt(vector,vector);//Whittacker's measure - double getMS(vector, vector);//Marczewski-Stainhaus distance - double getSor(vector, vector);//Sorensen quantitative index - double getMor(vector, vector);//Morisita-Horn index - void printD(vector >, int);//This prints a table that represents the given 2D vector, the second paramter specifies which method is to be used (1 for Whitt, 2 for MS, 3 for Sor, and 4 for Mor) -};*/ - /**************************************************************************************************/ /*This Class is similar to the GeometricSeries.h class. It calculates @@ -144,16 +122,6 @@ class KS2SampleTest public: void doKSTest(vector, vector); }; -/**************************************************************************************************/ -/*This Class calculates the Log Series Distribution for the data. -It then generates a D-Statistic and prints the D-Statistic and -the critical values for the Kolmogorov-Smirnov 1 sample test.*/ - -/*class LogSD -{ - public: - void doLogSD(vector, vector); -};*/ /**************************************************************************************************/ //This Class calculates and prints the Q-Statistic for the data.