Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Connected graph, component?

Dikenal juga sebagai: connected graph · connected component

Definition 9.7 High School Computer Science · Bab 9 — Graphs: Networks of Roads and People

An undirected graph is connected if there is a path between any two of its vertices. A connected component is a largest set of vertices joined to one another by paths.

The friendship graph of people 1 to 40, drawn in three groups by number. The orange edges join two groups. Persons 1 and 28, shaded, are the centre of the largest component; the group on the right is a component of its own, except 18, 20 and 25, whose friends are elsewhere.
The friendship graph of people 11 to 4040, drawn in three groups by number. The orange edges join two groups. Persons 11 and 2828, shaded, are the centre of the largest component; the group on the right is a component of its own, except 1818, 2020 and 2525, whose friends are elsewhere.
Part of the town’s road map, lengths in metres, from the Library (3) to the North Bridge (23). The route 3–24–1–23 is 3840 m. The road from the Town Square (1) to the Library is one-way, so the way back, 23–1–3, is only 2570 m.
Part of the town’s road map, lengths in metres, from the Library (3) to the North Bridge (23). The route 3–24–1–23 is 38403840 m. The road from the Town Square (1) to the Library is one-way, so the way back, 23–1–3, is only 25702570 m.
Baca dalam konteks →