source: tags/cvs_2_svn/CONSENSUS_TREE/CT_part.hxx

Last change on this file was 5390, checked in by westram, 16 years ago
  • TAB-Ex
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 857 bytes
Line 
1typedef unsigned int PELEM;
2
3typedef 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
10void  part_init(int len);
11void  part_print(PART *p);
12PART *part_new(void);
13PART *part_root(void);
14void  part_setbit(PART *p, int pos);
15int   son(PART *son, PART *father);
16int   brothers(PART *p1, PART *p2);void part_invert(PART *p);
17void  part_or(PART *s, PART *d);
18void  part_copy(PART *s, PART *d);
19void  part_standart(PART *p);
20int   calc_index(PART *p);
21void  part_free(PART *p);
22int   part_cmp(PART *p1, PART *p2);int part_key(PART *p);
23void  part_setlen(PART *p, GBT_LEN len);
24void  part_setperc(PART *p, int perc);
25void  part_addperc(PART *p, int perc);
Note: See TracBrowser for help on using the repository browser.