กราฟและเครือข่าย
แนะนำใหม่
12:39
GAC024 คณิตศาสตร์แบบไม่ต่อเนื่อง
สมาชิกซ้ำในเซตถูกนับเพียงครั้งเดียว การถ่วงบิ้นอาจเกินความกว้างที่กำหนด และเส้นทางที่ใช้ขอบน้อยที่สุดอาจไม่ใช่เส้นที่มีน้ำหนักน้อยที่สุดที่สุด discrete…
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| graph/ɡræf/ | กราฟ |
| vertices/ˈvɜːtɪsiːz/ | จุดยอด |
| edges/ˈedʒɪz/ | เส้นเชื่อม |
| degree/dɪˈɡriː/ | ดีกรี |
| path/pæθ/ | เส้นทาง |
| cycle/ˈsaɪkl/ | วงจรรอบ |
| connected/kəˈnektɪd/ | เชื่อมโยงกัน |
| tree/triː/ | ต้นไม้ |
| weighted graph/ˈweɪtɪd ɡræf/ | กราฟที่มีน้ำหนัก |
| shortest path/ˈʃɔːtɪst pæθ/ | เส้นทางที่สั้นที่สุด |
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.
ในกราฟไม่มีทิศทางที่ไม่มีการวนลูป มีสี่เส้นเชื่อมกับจุดยอดหนึ่ง จุดยอดนี้มีดีกรีเท่าใด?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
ดีกรีของมันคือ 4 ซึ่งคือจำนวนเส้นที่ติดกับจุดยอดภายใต้().' convention กราฟที่ระบุไว้
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.
ต้นไม้มี 4 จุดยอด ต้นไม้นี้มีเส้นเชื่อมกี่เส้น?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Finite tree ที่มีสี่ vertices มี n − 1 = 3 edges การนับนี้ขึ้นอยู่กับกราฟว่าเป็น connected และ acyclic จริงๆ
ในเครือข่ายไม่Directedที่เชื่อมต่อกันและมีการต้นทุนของเส้นเชื่อมเป็นบวกอย่างเคร่งครัด ทำไมจึงไม่มีวงวนอยู่ในสับกราฟที่มีต้นทุนต่ำที่สุดซึ่งครอบคลุมทุกจุดยอด?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
การลบเส้นเชื่อมจากวงจรใด ๆ จะรักษาความเชื่อมโยงและลดต้นทุนรวมลงเนื่องจากน้ำหนักของมันมีค่าบวกเสมอ ดังนั้นส่วนย่อยที่มีวงจรรายจึงไม่สามารถเป็นค่าต่ำสุดภายใต้เงื่อนไขเหล่านี้
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.
จับคู่สถานการณ์แต่ละอย่างกับสิ่งที่ vertices และ edges ควรจะเป็น
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
การตัดสินใจว่า vertices แทนอะไรคือการสร้างโมเดล และนั่นคือจุดที่ได้คะแนน
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.
สองภาพวาดที่ดูต่างกันต้องเป็นกราฟที่แตกต่างกัน
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
การจัดวางที่แตกต่างกันสามารถมี adjacency ที่มีฉลากเหมือนกันได้ ให้เปรียบเทียบทิศทางและน้ำหนักด้วยเมื่อสิ่งเหล่านั้นเป็นส่วนหนึ่งของกราฟที่กำหนดให้
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.
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้