+#ifndef VALIDCALCULATOR_H
+#define VALIDCALCULATOR_H
+
/*
* validcalculator.h
* Dotur
* Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
*
*/
-using namespace std;
-#include <Carbon/Carbon.h>
-#include <string>
-#include <iostream>
-#include <map>
+#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.
ValidCalculators();
~ValidCalculators();
bool isValidCalculator(string, string);
+ void printCalc(string, ostream&);
private:
map<string, string> single;
map<string, string> summary;
map<string, string> sharedrarefaction;
map<string, string> sharedsummary;
+ map<string, string> vennsingle;
+ map<string, string> vennshared;
+ map<string, string> treegroup;
+ map<string, string> matrix;
+ map<string, string> heat;
+ map<string, string> boot;
+ map<string, string> distance;
+ map<string, string>::iterator it;
+
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