人工智能教程 - 數學基礎課程1.5 - 離散數學-8 最小生成樹

通路和路徑Walks&Paths

Def: A walk is a sequence of vertices that are connected by edges.{v1v2...vkv_1-v_2-...-v_k} length k

Def: A path is a walk where all viv_i's are different

環和迴路Cycles& closed walks

Def: A closed walk is a walk which starts and ends at exactly the same vertex.(頂點)v0v1v2...vk=v0v_0-v_1-v_2-...-v_k=v_0
if k$\geq$3 and v0,v1,v2,...,vk1v_0,v_1,v_2,...,v_{k-1} are all different,then it is called cycle

樹 Tree

Def: A definition is that a connectefd and acyclic (無環的)graph

葉節點 leaf

Def:
a leaf is a node with degree one in a tree

最小權重生成樹

Def: The MST of an edge-weighted graph G is
the ST of G with the smallest possible sum of edge weights
AlgL Grow a subgraph step by step one edge at a time

at each step:
Add minimum weight edge keeps the subgraph acyclic

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章