请输入您要查询的字词:

 

单词 Path1
释义

path

\\xyoption

all

A path in a graph is a finite sequencePlanetmathPlanetmath of alternating vertices and edges, beginning and ending with a vertex, v1e1v2e2v3en-1vn such that every consecutive pair of vertices vx and vx+1 are adjacent and ex is incidentPlanetmathPlanetmath with vx and with vx+1. Typically, the edges may be omitted when writing a path (e.g., v1v2v3vn) since only one edge of a graph may connect two adjacent vertices. In a multigraphMathworldPlanetmath, however, the choice of edge may be significant.

The length of a path is the number of edges in it.

Consider the following graph:

\\xymatrixA\\ar@-[r]&B\\ar@-[d]D\\ar@-[u]&C\\ar@-[l]

Paths include (but are certainly not limited to) ABCD (length 3), ABCDA (length 4), and ABABABABADCBA (length 12). ABD is not a path since B is not adjacent to D.

In a digraphMathworldPlanetmath, each consecutive pair of vertices must be connectedPlanetmathPlanetmath by an edge with the proper orientationPlanetmathPlanetmath; if e=(u,v) is an edge, but (v,u) is not, then uev is a valid path but veu is not.

Consider this digraph:

\\xymatrixG\\ar[r]\\ar[d]&H\\ar[d]\\ar[l]J&I\\ar[l]

GHIJ, GJ, and GHGHGH are all valid paths. GHJ is not a valid path because H and J are not connected. GJI is not a valid path because the edge connecting I to J has the opposite orientation.

随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 1:15:38