]> git.donarmstrong.com Git - mothur.git/blob - chimera.h
changed sequence class so that when constructor is called aligned and unaligned value...
[mothur.git] / chimera.h
1 #ifndef CHIMERA_H
2 #define CHIMERA_H
3
4 /*
5  *  chimera.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 7/9/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13
14 #include "mothur.h"
15 #include "sparsematrix.hpp"
16
17 typedef list<PCell>::iterator MatData;
18 typedef map<int, float> SeqMap;  //maps sequence to all distance for that seqeunce
19
20
21 /***********************************************************************/
22
23 class Chimera {
24
25         public:
26         
27                 Chimera(){};
28                 Chimera(string);
29                 Chimera(string, string);
30                 virtual ~Chimera(){};
31                 virtual void setFilter(bool f)                  {       filter = f;                     }
32                 virtual void setCorrection(bool c)              {       correction = c;         }
33                 virtual void setProcessors(int p)               {       processors = p;         }
34                 virtual void setWindow(int w)                   {       window = w;                     }
35                 virtual void setIncrement(int i)                {       increment = i;          }
36                 
37                 virtual void setCons(string) {};
38                 virtual void setQuantiles(string) {};
39                 
40                 
41                 //pure functions
42                 virtual void getChimeras() = 0; 
43                 virtual void print(ostream&) = 0;       
44                 
45         protected:
46                 
47                 bool filter, correction;
48                 int processors, window, increment;
49                         
50
51 };
52
53 /***********************************************************************/
54
55 #endif
56