X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=validcalculator.h;h=59f6bb3488ddb03acdc9a8682b748e9347f04fb9;hp=b23c24f0b287d926d68090c25533007b3a86dca9;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=58cf1d08fee8c64334979075fa57bcafb035a2ed diff --git a/validcalculator.h b/validcalculator.h index b23c24f..59f6bb3 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,9 @@ class ValidCalculators { ValidCalculators(); ~ValidCalculators(); bool isValidCalculator(string, string); + void printCalc(string, ostream&); + string printCalc(string); + void printCitations(vector); private: map single; @@ -33,12 +34,31 @@ 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; + set allCalcs; + void initialSingle(); void initialShared(); void initialRarefaction(); void initialSharedRarefact(); void initialSummary(); void initialSharedSummary(); + void initialVennSingle(); + void initialVennShared(); + void initialTreeGroups(); + void initialMatrix(); + void initialBoot(); + void initialDistance(); + void initialHeat(); + + MothurOut* m; }; #endif