X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=validcalculator.h;h=59f6bb3488ddb03acdc9a8682b748e9347f04fb9;hp=6cf37924144906276a9aa39c491ffed301c35510;hb=541bab1dac00688b4c3a8c4a95ab464412663c50;hpb=c5c7502f435e1413c19e373dab1dfebcaa67588d diff --git a/validcalculator.h b/validcalculator.h index 6cf3792..59f6bb3 100644 --- a/validcalculator.h +++ b/validcalculator.h @@ -9,9 +9,9 @@ * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. * */ -using namespace std; #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. @@ -23,6 +23,9 @@ class ValidCalculators { ValidCalculators(); ~ValidCalculators(); bool isValidCalculator(string, string); + void printCalc(string, ostream&); + string printCalc(string); + void printCitations(vector); private: map single; @@ -34,7 +37,12 @@ class ValidCalculators { map vennsingle; map vennshared; map treegroup; + map matrix; + map heat; + map boot; + map distance; map::iterator it; + set allCalcs; void initialSingle(); void initialShared(); @@ -45,6 +53,12 @@ class ValidCalculators { void initialVennSingle(); void initialVennShared(); void initialTreeGroups(); + void initialMatrix(); + void initialBoot(); + void initialDistance(); + void initialHeat(); + + MothurOut* m; }; #endif