第1行: |
第1行: |
| '''粗体文字''' --[[用户:趣木木|趣木木]]([[用户讨论:趣木木|讨论]])在篇首写下 本词条由[[用户名]]初步翻译 | | '''粗体文字''' --[[用户:趣木木|趣木木]]([[用户讨论:趣木木|讨论]])在篇首写下 本词条由[[用户名]]初步翻译 |
− | 本词条由信白初步翻译
| + | 本词条由923397935初步翻译 |
| 此词条暂由彩云小译翻译,未经人工整理和审校,带来阅读不便,请见谅。 | | 此词条暂由彩云小译翻译,未经人工整理和审校,带来阅读不便,请见谅。 |
| | | |
− | [[File:Directed.svg|160px|thumb|A [[directed graph]] with three [[Vertex (graph theory)|vertices]] (blue circles) and three [[Edge (graph theory)|edges]] (black arrows).]] | + | [[File:Directed.svg|160px|thumb|A [[directed graph]] with three [[Vertex (graph theory)|vertices]] (blue circles) and three [[Edge (graph theory)|edges]] (black arrows).]]<br> |
| + | 图1:A[[directed graph]]with three [[Vertex (graph theory)|vertices]] (blue circles) and three [[Edge (graph theory)|edges]] (black arrows). |
| + | 一个有三个蓝色圆圈(点(图论)/顶点)和三条黑色箭头的边(边(图论))的有向图。 |
| --[[用户:趣木木|趣木木]]([[用户讨论:趣木木|讨论]])注意图的格式 转行写[图1: 英文加翻译内容] | | --[[用户:趣木木|趣木木]]([[用户讨论:趣木木|讨论]])注意图的格式 转行写[图1: 英文加翻译内容] |
| A [[directed graph with three vertices (blue circles) and three edges (black arrows).]] | | A [[directed graph with three vertices (blue circles) and three edges (black arrows).]] |
| | | |
| | | |
− | 一个[有三个顶点(蓝色圆圈)和三条边(黑色箭头)的有向图]
| + | 一个有三个顶点(蓝色圆圈)和三条边(黑色箭头)的有向图。 |
| | | |
| | | |
第45行: |
第47行: |
| 图形''G'' 的数据结构提供的基本操作通常包括: | | 图形''G'' 的数据结构提供的基本操作通常包括: |
| --[[用户:趣木木|趣木木]]([[用户讨论:趣木木|讨论]])变量斜体 | | --[[用户:趣木木|趣木木]]([[用户讨论:趣木木|讨论]])变量斜体 |
− | * <code>adjacent</code>(''''G'''', ''''x'''', ''''y''''): tests whether there is an edge from the vertex ''''x'''' to the vertex ''''y''''; | + | * <code>adjacent</code>(''G'',''x'',''y''): tests whether there is an edge from the vertex ''x'' to the vertex ''y''; |
| | | |
| * <code>neighbors</code>(''''G'''', ''''x''''): lists all vertices ''''y'''' such that there is an edge from the vertex ''''x'''' to the vertex ''''y''''; | | * <code>neighbors</code>(''''G'''', ''''x''''): lists all vertices ''''y'''' such that there is an edge from the vertex ''''x'''' to the vertex ''''y''''; |