Minimum Spanning Trees and Greedy Algorithms (VCE SSCE General Mathematics): Flashcards

📚Flashcards
Minimum Spanning Trees and Greedy Algorithms
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

10 cards from this deck

Show

Tree (graph theory)

Connected graph; no cycles, loops, or multiple edges

Edges in tree with nn vertices

n1n - 1 edges

Spanning tree

Tree connecting all vertices in a connected graph

Minimum spanning tree

Spanning tree with smallest possible total weight

Prim's algorithm: edges considered

Edges from vertices already in the tree

Kruskal's algorithm: edges considered

Smallest edge from anywhere, avoiding cycles

Prim's vs Kruskal's difference

Prim's expands from vertex; Kruskal's sorts all edges

Greedy algorithm

Makes best choice at each step for optimal solution

Dijkstra's algorithm purpose

Find shortest path between two specific vertices

Algorithm (definition)

Step-by-step instructions to solve a problem or task

Join 100,000+ SSCE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.