Graf dan jaringan
Diperkenalkan
12:39
GAC024 Matematika Diskrit
Anggota himpunan yang berulang dihitung satu kali, carry biner dapat melebihi lebar tetap, dan rute dengan jumlah sisi terkecil mungkin bukan yang memiliki bobot terkecil. Diskrit…
Narasi bahasa Inggris · takarir bahasa Inggris dan 中文 yang dapat dipilih
In this lesson
| English | Makna |
|---|---|
| graph/ɡræf/ | graf |
| vertices/ˈvɜːtɪsiːz/ | titik sudut |
| edges/ˈedʒɪz/ | sisi |
| degree/dɪˈɡriː/ | derajat |
| path/pæθ/ | jalur |
| cycle/ˈsaɪkl/ | siklus |
| connected/kəˈnektɪd/ | terhubung |
| tree/triː/ | pohon |
| weighted graph/ˈweɪtɪd ɡræf/ | graf berbobot |
| shortest path/ˈʃɔːtɪst pæθ/ | jalur terpendek |
A connection model needs its assumptions
- A graph 图 has vertices 顶点 and edges 边. Decide what they represent and whether the connections are directed, weighted or undirected.
- The worksheet uses finite simple undirected graphs without loops or repeated edges. Drawing position does not change their connections, but an arrow or edge weight can change the mathematical model.

Count connections consistently
- Degree 度 counts incident edges in a simple undirected graph. The total degree is twice the number of edges, so it must be even.
- A path 路径 follows connections; a cycle 环 returns to its start without repeating other vertices. A graph is connected 连通 when each vertex can be reached from every other.
Dalam graf tak berarah sederhana tanpa loop, empat tepi bertemu dengan sebuah vertex. Berapa derajatnya?
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Derajatnya adalah 4, jumlah tepi insiden di bawah konvensi graf yang stated.
A tree needs two properties
- A tree 树 is connected and has no cycles. A finite tree with n vertices has n minus 1 edges.
- Having n minus 1 edges alone does not prove a tree: a triangle plus a separate two-vertex component has five vertices and four edges but is disconnected and cyclic.
Sebuah pohon memiliki 4 titik sudut. Berapa banyak sisinya?
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Pohon finite dengan empat vertex memiliki n − 1 = 3 tepi. Perhitungan ini bergantung pada graf tersebut benar-benar terhubung dan akliklik.
Dalam jaringan tak berarah yang terhubung dengan biaya sisi yang positif secara ketat, mengapa subgraf terhubung berbiaya minimum yang mencakup semua simpul tidak memuat siklus?
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Menghapus salah satu sisi siklus mempertahankan konektivitas dan menurunkan total biaya karena bobotnya positif secara ketat. Oleh karena itu, subgraf siklik tidak dapat menjadi minimum di bawah asumsi ini.
Positive-cost connecting roads. For a connected network with strictly positive road costs, removing a cycle edge leaves connectivity and lowers cost. A minimum-cost connecting subgraph is therefore a tree. To find a minimum spanning tree, choose edges that connect all vertices without a cycle; blindly choosing the cheapest n minus 1 edges can leave separate components.
A shortest route is not a spanning tree
- A weighted graph 带权图 attaches a specified value to each edge. A shortest path 最短路径 minimises route weight between the given endpoints.
- A minimum spanning tree instead connects every vertex at minimum total included weight. A shortest route can have more edges than a direct expensive route; sum the weights rather than count the edges.
Cocokkan setiap situasi dengan apa yang seharusnya menjadi titik sudut dan sisinya.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Memutuskan apa yang diwakili oleh titik sudut adalah tahap pemodelan, dan di situlah nilai skor berada.
A closed edge changes feasibility. Sheet 4.5 finds a route of weight 7, then closes an edge and checks a replacement of weight 9. Do not reuse the old total for a path that no longer exists.
Dua gambar yang tampak berbeda pasti merupakan graf yang berbeda.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Tata letak yang berbeda dapat memiliki matriks ketetanggaan berlabel yang sama. Bandingkan juga arah dan bobot ketika keduanya merupakan bagian dari graf yang ditentukan.
Compare all structure relevant to the question: vertex correspondence, adjacency, directions and weights where specified. Equal-looking pictures need not represent the same graph; different layouts can represent the same labelled connections.