Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Adjacency list, successor, predecessor?

Dikenal juga sebagai: adjacency list · successor · predecessor

Definition 26.1 High School Computer Science · Bab 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.
Baca dalam konteks →