|
Revision 3482, 1.2 KB
(checked in by westram, 7 years ago)
|
|
- tabs -> spaces
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | /* ------------------------------------------------------------------------- */ |
|---|
| 2 | |
|---|
| 3 | #ifndef _A3_BASEN_H |
|---|
| 4 | #define _A3_BASEN_H |
|---|
| 5 | |
|---|
| 6 | /* ---------------------------------------------------------------------------- |
|---|
| 7 | Makros und Definitionen |
|---|
| 8 | ---------------------------------------------------------------------------- */ |
|---|
| 9 | |
|---|
| 10 | #define BASEN 6 |
|---|
| 11 | #define BASENPUR 4 |
|---|
| 12 | #define CHARS 256 |
|---|
| 13 | |
|---|
| 14 | #define INVALID -1 |
|---|
| 15 | #define INSERT -2 |
|---|
| 16 | |
|---|
| 17 | /* ---------------------------------------------------------------------------- |
|---|
| 18 | Datentypen |
|---|
| 19 | ---------------------------------------------------------------------------- */ |
|---|
| 20 | |
|---|
| 21 | typedef enum |
|---|
| 22 | { |
|---|
| 23 | ADENIN = 0, |
|---|
| 24 | CYTOSIN = 1, |
|---|
| 25 | GUANIN = 2, |
|---|
| 26 | URACIL = 3, |
|---|
| 27 | ONE = 4, |
|---|
| 28 | ANY = 5 |
|---|
| 29 | } |
|---|
| 30 | Base; |
|---|
| 31 | |
|---|
| 32 | /* ---------------------------------------------------------------------------- |
|---|
| 33 | Globale Variable |
|---|
| 34 | ---------------------------------------------------------------------------- */ |
|---|
| 35 | |
|---|
| 36 | extern const int BCharacter [BASEN]; |
|---|
| 37 | extern const double BComplement[BASEN][BASEN]; |
|---|
| 38 | extern const Base BIndex [CHARS]; |
|---|
| 39 | |
|---|
| 40 | /* ------------------------------------------------------------------------- */ |
|---|
| 41 | |
|---|
| 42 | #endif |
|---|
| 43 | |
|---|
| 44 | /* ------------------------------------------------------------------------- */ |
|---|