全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Mathematics · 术语表

什么是 Graph, adjacency matrix?

又称: graph · adjacency matrix

Definition 30.11 High School Mathematics · 第 30 章 — Matrices and Graphs

A graph consists of vertices 1,2,…,n1, 2, \dots, n and edges joining certain pairs of vertices (ordered pairs for a directed graph). Its adjacency matrix is the n×nn \times n matrix MM with mij=1m_{ij} = 1 if there is an edge from ii to jj, and 00 otherwise. A walk of length kk from ii to jj is a sequence of kk consecutive edges leading from ii to jj.

M = pmatrix 0 & 1 & 1\\ 0 & 0 & 1\\ 1 & 0 & 0 pmatrix A directed graph and its adjacency matrix (): m_ij = 1 exactly when there is an edge from i to j.
M=(011001100)M = \begin{pmatrix} 0 & 1 & 1\\ 0 & 0 & 1\\ 1 & 0 & 0 \end{pmatrix} A directed graph and its adjacency matrix (Exercise 30.6): mij=1m_{ij} = 1 exactly when there is an edge from ii to jj.
在原文中阅读 →