42 #define MALLOC(s,t,f) malloc(s)
43 #define FREE(s,t,f) free(s)
61 printf(
" ***** duplication du systeme \n");
68 for (som1 = som->
succ; som1 != NULL; som1 = som1->
succ)
89 printf(
" ***** erase systeme \n");
92 for (p2 = ps;p2 != NULL;)
112 for (ps = som;ps!= NULL; ps= ps->
succ)
#define SOMMET
package sommet: structure de donnees representant les sommets d'un systeme generateur; elle contient:
void sommet_normalize(Psommet ns)
void sommet_normalize(Psommet ns): normalisation des coordonnees d'un sommet par le pgcd des coordonn...
Psommet sommet_dup(Psommet s_in)
Psommet sommet_dup(Psommet s_in): allocation et copie de la valeur d'un sommet.
void sommets_normalize(Psommet som)
void sommets_normalize(som) Normalisation des elements d'une liste de sommets i.e.
Psommet sommets_dup(Psommet som)
Psommet sommets_dup(Psommet som): copie d'une liste de sommets tout en respectant le meme ordre.
void sommets_rm(Psommet ps)
void sommets_rm(Psommet ps): liberation de l'espace memoire alloue a une liste de sommets
structure de donnees Sommet
void vect_rm(Pvecteur v)
void vect_rm(Pvecteur v): desallocation des couples de v;