X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=validcalculator.h;h=bf8819f4f317df5337c75975afd2e165ce376bcd;hb=cfe70bbc94980a0177af465d3464db754673bd56;hp=9d4cef9337bc3f693b0b1baf5b4e78304e078b57;hpb=09a01fb51eea9e81409d367410c831394193fd86;p=mothur.git diff --git a/validcalculator.h b/validcalculator.h index 9d4cef9..bf8819f 100644 --- a/validcalculator.h +++ b/validcalculator.h @@ -9,11 +9,9 @@ * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. * */ -using namespace std; -#include -#include -#include +#include "mothur.h" +#include "mothurout.h" //This class contains a list of all valid calculators in Mothur. //It has a function which will tell you if your calculator is valid for the given parameter. @@ -25,6 +23,7 @@ class ValidCalculators { ValidCalculators(); ~ValidCalculators(); bool isValidCalculator(string, string); + void printCalc(string, ostream&); private: map single; @@ -33,6 +32,13 @@ class ValidCalculators { map summary; map sharedrarefaction; map sharedsummary; + map vennsingle; + map vennshared; + map treegroup; + map matrix; + map heat; + map boot; + map distance; map::iterator it; void initialSingle(); @@ -41,6 +47,15 @@ class ValidCalculators { void initialSharedRarefact(); void initialSummary(); void initialSharedSummary(); + void initialVennSingle(); + void initialVennShared(); + void initialTreeGroups(); + void initialMatrix(); + void initialBoot(); + void initialDistance(); + void initialHeat(); + + MothurOut* m; }; #endif