answersLogoWhite

0

AllQ&AStudy Guides
Best answer

yes, but a shortest path tree, not a minimum spanning tree

This answer is:
Related answers

yes, but a shortest path tree, not a minimum spanning tree

View page

Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connected weighted graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized. If the graph is not connected, then it finds a minimum spanning forest (a minimum spanning tree for each connected component). Kruskal's algorithm is an example of a greedy algorithm.

View page

o(eloge)

View page

It's an algorithm to find the spanning tree in decision maths. The method is:

  1. list weights in ascending order from smallest weight to largest weight.
  2. then starting form the beginning of your list, tick the weights you want to use and cross out the ones which make a cycle. do this till you've reached all the nods then cross out the rest.
  3. add up the weights you used to give you the total weight of the spanning tree.
View page

Prims Algorithm is used when the given graph is dense , whereas Kruskals is used when the given is sparse,we consider this because of their time complexities even though both of them perform the same function of finding minimum spanning tree.

ismailahmed syed

View page
Featured study guide

Reptiles

14 cards

Which important property do stack algorithm have

What is the largest rattlesnake found in Michigan

What is a blue-tongued Skink

How do fish take baths

➡️
See all cards
No Reviews
More study guides
No Reviews

5.0
1 Review
Search results