全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Classes of arcs?

又称: tree edge · back edge · forward edge · cross edge

Definition 24.14 University Computer Science — Year 1 · 第 24 章 — Graphs and Traversals

In a depth-first search of a directed graph, an arc u→vu \to v is a tree edge if uu is the parent of vv; a back edge if vv is an ancestor of uu in the forest, or uu itself; a forward edge if vv is a descendant of uu but not its child; a cross edge otherwise.

The search of , started at a, then at e; each vertex carries d|f. The tree edges form two trees, rooted at a and e.
The search of Output 24.4, started at a, then at e; each vertex carries d∣fd|f. The tree edges form two trees, rooted at a and e.
在原文中阅读 →