You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
690 B
30 lines
690 B
#include <stdbool.h>
|
|
#include <stdlib.h>
|
|
#include <stddef.h>
|
|
#include <stdio.h>
|
|
#include "liste.h"
|
|
|
|
typedef struct maillonG
|
|
{
|
|
int v;
|
|
struct maillonG *suiv;
|
|
Liste l;
|
|
} MaillonG, *Graphe;
|
|
|
|
Graphe graphNouv();
|
|
Graphe adjst(Graphe g, int x);
|
|
Graphe adjs(Graphe g, int x);
|
|
Graphe adja(Graphe g, int x, int y);
|
|
Graphe sups1(Graphe g, int x);
|
|
Graphe sups(Graphe g, int x);
|
|
Graphe supa(Graphe g, int x, int y);
|
|
bool exs(Graphe g, int s);
|
|
bool exa(Graphe g, int x, int y);
|
|
int de(Graphe g, int x);
|
|
int di(Graphe g, int x);
|
|
Liste esg(Graphe g/*, int x*/);
|
|
bool videGraphe(Graphe g);
|
|
Liste esuc(Graphe g, int x);
|
|
Liste parcoursProfondeur(Graphe g, Liste e, Liste l);
|
|
void afficherGraphe(Graphe g);
|