Last change
on this file was
6516,
checked in by westram, 15 years ago
|
- fixed compile error (assert)
- fixed includes
- added include wrappers
- renamed functions "overloaded" by defines
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | // ============================================================= // |
---|
2 | // // |
---|
3 | // File : trnsprob.h // |
---|
4 | // Purpose : // |
---|
5 | // // |
---|
6 | // Institute of Microbiology (Technical University Munich) // |
---|
7 | // http://www.arb-home.de/ // |
---|
8 | // // |
---|
9 | // ============================================================= // |
---|
10 | |
---|
11 | #ifndef TRNSPROB_H |
---|
12 | #define TRNSPROB_H |
---|
13 | |
---|
14 | |
---|
15 | #define MAXEDGE 1.2 |
---|
16 | |
---|
17 | #define ATOLPARAM 0.0001 |
---|
18 | #define RTOLPARAM 0.001 |
---|
19 | |
---|
20 | enum {T,C,A,G,N,N1,N2}; |
---|
21 | enum {REV,TN93,HKY85}; |
---|
22 | |
---|
23 | char encodeBase(char c); |
---|
24 | char decodeBase(char c); |
---|
25 | |
---|
26 | void normalizeBaseFreqs(double *F,double fT,double fC,double fA,double fG); |
---|
27 | void normalizeRateParams(double *X,double a,double b,double c,double d,double e,double f); |
---|
28 | |
---|
29 | void initTrnsprob(double ****PP); |
---|
30 | void uninitTrnsprob(double ****PP); |
---|
31 | |
---|
32 | void getTrnsprob(double **P,double ***PP,double d); |
---|
33 | |
---|
34 | void updateTrnsprob(double ***PP,double *F,double *X,short M); |
---|
35 | |
---|
36 | |
---|
37 | #else |
---|
38 | #error trnsprob.h included twice |
---|
39 | #endif // TRNSPROB_H |
---|
Note: See
TracBrowser
for help on using the repository browser.