X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=validcalculator.h;fp=validcalculator.h;h=0000000000000000000000000000000000000000;hb=4a877efa127e56e81a21f53cfdbbfd3bfbe8c4ff;hp=59f6bb3488ddb03acdc9a8682b748e9347f04fb9;hpb=a6cf29fa4dac0909c7582cb1094151d34093ee76;p=mothur.git diff --git a/validcalculator.h b/validcalculator.h deleted file mode 100644 index 59f6bb3..0000000 --- a/validcalculator.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef VALIDCALCULATOR_H -#define VALIDCALCULATOR_H - -/* - * validcalculator.h - * Dotur - * - * Created by Sarah Westcott on 1/5/09. - * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. - * - */ - -#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. -//When adding a new calculator you must add it to the valid list. - - -class ValidCalculators { - public: - ValidCalculators(); - ~ValidCalculators(); - bool isValidCalculator(string, string); - void printCalc(string, ostream&); - string printCalc(string); - void printCitations(vector); - - private: - map single; - map shared; - map rarefaction; - 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