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.
16 #include "utilities.hpp"
19 /* The tree calculator class is the parent class for tree calculators in mothur. */
21 typedef vector<double> EstOutput;
23 /***********************************************************************/
25 class TreeCalculator {
29 TreeCalculator(string n) : name(n) {};
31 virtual EstOutput getValues(Tree*) = 0;
32 virtual EstOutput getValues(Tree*, string, string) = 0;
34 virtual string getName() { return name; }
42 /***********************************************************************/