liste d'adjaçance ou pas..?
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à:
Code:
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];
}; |
Ma question c'est : peut on consedérer cette implimantation comme etant une implimantation dans une liste d'adjaçance?
Merci mes amis ..
Allé salut