Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Classes of arcs?

Dikenal juga sebagai: tree edge · back edge · forward edge · cross edge

Definition 24.14 University Computer Science — Year 1 · Bab 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.
Baca dalam konteks →