*
*/
-using namespace std;
-
-#include <vector>
-#include <cmath>
-#include <math.h>
-#include <string>
-#include <map>
-#include <algorithm>
-#include "utilities.hpp"
+#include "mothur.h"
#include "tree.h"
+#include "mothurout.h"
/* The tree calculator class is the parent class for tree calculators in mothur. */
class TreeCalculator {
public:
- TreeCalculator(){};
+ TreeCalculator(){ m = MothurOut::getInstance(); }
TreeCalculator(string n) : name(n) {};
- ~TreeCalculator(){};
+ virtual ~TreeCalculator(){};
virtual EstOutput getValues(Tree*) = 0;
+ virtual EstOutput getValues(Tree*, string, string) = 0;
virtual string getName() { return name; }
protected:
EstOutput data;
string name;
+ MothurOut* m;
};
/***********************************************************************/
-#endif
\ No newline at end of file
+#endif