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