]> git.donarmstrong.com Git - mothur.git/blob - dist.h
working on pam
[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         Dist(const Dist& d) : dist(d.dist) { m = MothurOut::getInstance(); }
22         virtual ~Dist() {}
23         virtual void calcDist(Sequence, Sequence) = 0;
24         double getDist()        {       return dist;    }
25
26 protected:
27         double dist;
28         MothurOut* m;
29 };
30
31 /**************************************************************************************************/
32
33 #endif