1 #ifndef TREECALCULATOR_H
2 #define TREECALCULATOR_H
8 * Created by Sarah Westcott on 1/26/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
21 #include "utilities.hpp"
24 /* The tree calculator class is the parent class for tree calculators in mothur. */
26 typedef vector<double> EstOutput;
28 /***********************************************************************/
30 class TreeCalculator {
34 TreeCalculator(string n) : name(n) {};
36 virtual EstOutput getValues(Tree*) = 0;
38 virtual string getName() { return name; }
46 /***********************************************************************/