Last change
on this file was
5390,
checked in by westram, 16 years ago
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
857 bytes
|
Line | |
---|
1 | typedef unsigned int PELEM; |
---|
2 | |
---|
3 | typedef struct { |
---|
4 | PELEM *p; |
---|
5 | GBT_LEN len; /* Length between two knots */ |
---|
6 | int percent; /* Count how often this partion appears */ |
---|
7 | char *source; /* From which tree comes the partition */ |
---|
8 | } PART; |
---|
9 | |
---|
10 | void part_init(int len); |
---|
11 | void part_print(PART *p); |
---|
12 | PART *part_new(void); |
---|
13 | PART *part_root(void); |
---|
14 | void part_setbit(PART *p, int pos); |
---|
15 | int son(PART *son, PART *father); |
---|
16 | int brothers(PART *p1, PART *p2);void part_invert(PART *p); |
---|
17 | void part_or(PART *s, PART *d); |
---|
18 | void part_copy(PART *s, PART *d); |
---|
19 | void part_standart(PART *p); |
---|
20 | int calc_index(PART *p); |
---|
21 | void part_free(PART *p); |
---|
22 | int part_cmp(PART *p1, PART *p2);int part_key(PART *p); |
---|
23 | void part_setlen(PART *p, GBT_LEN len); |
---|
24 | void part_setperc(PART *p, int perc); |
---|
25 | void part_addperc(PART *p, int perc); |
---|
Note: See
TracBrowser
for help on using the repository browser.