Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Classes of arcs » ?

Aussi appelé : tree edge · back edge · forward edge · cross edge

Definition 24.14 University Computer Science — Year 1 · Chapitre 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.
Lire dans le chapitre →