X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=treecalculator.h;fp=treecalculator.h;h=0000000000000000000000000000000000000000;hb=4a877efa127e56e81a21f53cfdbbfd3bfbe8c4ff;hp=06abdb8e278e5dd4c04536444745f5f71679f092;hpb=a6cf29fa4dac0909c7582cb1094151d34093ee76;p=mothur.git diff --git a/treecalculator.h b/treecalculator.h deleted file mode 100644 index 06abdb8..0000000 --- a/treecalculator.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef TREECALCULATOR_H -#define TREECALCULATOR_H - -/* - * treecalculator.h - * Mothur - * - * Created by Sarah Westcott on 1/26/09. - * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. - * - */ - -#include "mothur.h" -#include "tree.h" -#include "mothurout.h" - -/* The tree calculator class is the parent class for tree calculators in mothur. */ - -typedef vector EstOutput; - -/***********************************************************************/ - -class TreeCalculator { - -public: - TreeCalculator(){ m = MothurOut::getInstance(); } - TreeCalculator(string n) : name(n) {}; - - virtual ~TreeCalculator(){}; - virtual EstOutput getValues(Tree*) { return data; } - virtual EstOutput getValues(Tree*, int, string) { return data; } - virtual EstOutput getValues(Tree*, string, string) { return data; } - virtual EstOutput getValues(Tree*, string, string, vector&) { return data; } - - virtual string getName() { return name; } - -protected: - EstOutput data; - string name; - MothurOut* m; - -}; - -/***********************************************************************/ - -#endif