Salut les developpeurs....
Alors j'ai une question à poser sur les graphs....
J'ai fait la déclaration suivante d'un type graph (c'est ecrit en code c),la voilà:
Ma question c'est : peut on consedérer cette implimantation comme etant une implimantation dans une liste d'adjaçance?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 typedef struct noeud { int val; struct noued *suivant;//noeud suivant(sommet suivant)... struct adjaçan *voisin;//tout noeud a un pointeur vers ses sommets voisins... }Graph; struct adjaçan { int voisins[1000]; };
Merci mes amis ..
Allé salut
Partager