1/9
This set of flashcards covers key terms related to spanning trees, their properties, and associated algorithms.
Spanning Tree
A sub-graph of an undirected connected graph that includes all vertices with a minimum possible number of edges.
Connected Graph
A graph in which there is always a path from any vertex to any other vertex.
Minimum Spanning Tree
A spanning tree where the sum of the weights of the edges is minimized.
Graph Weights
Values assigned to edges in a graph which determine the cost or distance of traversing those edges.
Prim's Algorithm
An algorithm that finds a minimum spanning tree by starting from one vertex and adding edges with the lowest weight.
Kruskal's Algorithm
An algorithm that finds a minimum spanning tree by sorting all edges and adding them one by one, avoiding cycles.
Greedy Algorithm
A type of algorithm that makes the locally optimal choice at each step in hopes of finding a global optimum.
Cycle
A path in a graph that starts and ends at the same vertex without traversing any edge more than once.
Forest
A disjoint set of trees; a graph without cycles.
Edge Weight
A numerical value assigned to an edge in a graph, representing its cost or distance.