Last change
on this file was
4341,
checked in by westram, 18 years ago
|
- enumerated PH_filter::options_vector
- use the PH_filter version defined here
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
798 bytes
|
Line | |
---|
1 | #ifndef PH_FILTER_HXX |
---|
2 | #define PH_FILTER_HXX |
---|
3 | |
---|
4 | enum { |
---|
5 | OPT_START_COL = 0, |
---|
6 | OPT_STOP_COL = 1, |
---|
7 | OPT_MIN_HOM = 2, |
---|
8 | OPT_MAX_HOM = 3, |
---|
9 | OPT_FILTER_POINT = 4, |
---|
10 | OPT_FILTER_MINUS = 5, |
---|
11 | OPT_FILTER_AMBIG = 6, |
---|
12 | OPT_FILTER_LOWER = 7, |
---|
13 | }; |
---|
14 | |
---|
15 | class PH_filter { |
---|
16 | public: |
---|
17 | char *filter; // 0 1 |
---|
18 | long filter_len; |
---|
19 | long real_len; // how many 1 |
---|
20 | long update; |
---|
21 | long *options_vector; // options used to calculate current filter |
---|
22 | // float *markerline; // line to create filter (according to options_vector) |
---|
23 | char *init(char *filter, char *zerobases, long size); |
---|
24 | char *init(long size); |
---|
25 | |
---|
26 | PH_filter(void); |
---|
27 | ~PH_filter(void); |
---|
28 | float *calculate_column_homology(void); |
---|
29 | }; |
---|
30 | |
---|
31 | #else |
---|
32 | #error PH_filter.hxx included twice |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.