]> git.donarmstrong.com Git - mothur.git/blob - dist.h
created mothurOut class to handle logfiles
[mothur.git] / dist.h
1 #ifndef DIST_H
2 #define DIST_H
3 /*
4  *  dist.h
5  *  Mothur
6  *
7  *  Created by Sarah Westcott on 5/7/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11
12 #include "mothur.h"
13 #include "sequence.hpp"
14
15 /**************************************************************************************************/
16
17 class Dist {
18         
19 public:
20         Dist(){dist = 0; m = MothurOut::getInstance(); }
21         virtual ~Dist() {}
22         virtual void calcDist(Sequence, Sequence) = 0;
23         double getDist()        {       return dist;    }
24 protected:
25         double dist;
26         MothurOut* m;
27 };
28
29 /**************************************************************************************************/
30
31 #endif