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.
18 /* The tree calculator class is the parent class for tree calculators in mothur. */
20 typedef vector<double> EstOutput;
22 /***********************************************************************/
24 class TreeCalculator {
28 TreeCalculator(string n) : name(n) {};
30 virtual EstOutput getValues(Tree*) = 0;
31 virtual EstOutput getValues(Tree*, string, string) = 0;
33 virtual string getName() { return name; }
41 /***********************************************************************/