Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Adjacency list, successor, predecessor?

Também chamado de: adjacency list · successor · predecessor

Definition 26.1 High School Computer Science · Capítulo 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.
Ler no capítulo →