Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Adjacency list, successor, predecessor » ?

Aussi appelé : adjacency list · successor · predecessor

Definition 26.1 High School Computer Science · Chapitre 26 — Graph Traversals and Shortest Paths

The adjacency lists of a graph give, for each vertex, the list of its neighbours; in Python, a dictionary from each vertex to that list. In a directed graph, the vertices at the end of the edges leaving vv are its successors, and those at the start of the edges arriving at vv its predecessors; the lists usually give the successors.

The graph G of the listings, its adjacency lists and its adjacency matrix (rows and columns in the order A to F). The matrix is symmetric because the graph is undirected.
The graph G of the listings, its adjacency lists and its adjacency matrix (rows and columns in the order A to F). The matrix is symmetric because the graph is undirected.
Lire dans le chapitre →