Spanning Trees and Algorithms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

This set of flashcards covers key terms related to spanning trees, their properties, and associated algorithms.

10 Terms

1
New cards

Spanning Tree

A sub-graph of an undirected connected graph that includes all vertices with a minimum possible number of edges.

2
New cards

Connected Graph

A graph in which there is always a path from any vertex to any other vertex.

3
New cards

Minimum Spanning Tree

A spanning tree where the sum of the weights of the edges is minimized.

4
New cards

Graph Weights

Values assigned to edges in a graph which determine the cost or distance of traversing those edges.

5
New cards

Prim's Algorithm

An algorithm that finds a minimum spanning tree by starting from one vertex and adding edges with the lowest weight.

6
New cards

Kruskal's Algorithm

An algorithm that finds a minimum spanning tree by sorting all edges and adding them one by one, avoiding cycles.

7
New cards

Greedy Algorithm

A type of algorithm that makes the locally optimal choice at each step in hopes of finding a global optimum.

8
New cards

Cycle

A path in a graph that starts and ends at the same vertex without traversing any edge more than once.

9
New cards

Forest

A disjoint set of trees; a graph without cycles.

10
New cards

Edge Weight

A numerical value assigned to an edge in a graph, representing its cost or distance.