Accueil     Soft. MacOSX     Soft. MacOS/PC     PHP     Python     ROMS GBA     TP d'info     DBZ-GT     Martingales     Galeries     Liens     @  

TP5 arbre.h

/* TP5 arbre.h 28/11/02 */
/* arbre.h */
typedef enum b {VRAI,FAUX} BOOL;

typedef int Element;

typedef struct Cellule {
Element e;
struct Cellule* d,*g;
};
typedef struct Cellule *AB;

/* prototypes */

AB Creer_AB();
Element Val(AB a);
AB Fg(AB);
AB Fd(AB);
BOOL Arbre_vide(AB);
BOOL Appartient(AB,Element);
int Hauteur(AB);
int Taille(AB a);
int Equilibre(AB);
AB Supprimer(AB,Element,AB);
AB Ajouter_AB(AB,Element);
int _max(int a,int b);AB InterAjouter(AB dest,AB a,AB b);

/* Ensemble */

AB UnionAjouter(AB dest,AB src);
AB Union(AB,AB);
AB InterAjouter(AB,AB,AB);
AB Intersection(AB,AB);

/* ©2002 All Rights Reserved to Didier STRAUS http://www.Software-DS.com*/





Haut de la page - Page précédente - Page générée en 0.00969 sec.
Recherche personnalisée
 

1844075 visiteurs.   ©2001-2023 All Rights Reserved to Software-DS.com
Made with a mac  
Confidentialité