Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary of the Primms algorithm

Rating
-
Sold
-
Pages
1
Uploaded on
28-08-2023
Written in
2022/2023

Notes on the primms algorithm.

Institution
Course

Content preview

Prims pt-2
Prims algorithm using a matrix:
1. choose any vertex to start the tree (in an exam you will likely be told which vertex to start with)
2. delete the row in the matrix for the chosen vertex
3. Number the column in the matrix for the chosen vertex
4. put a box around the lowest undeleted entry in the numbered columns (if there is an equal choice, choose
randomly)
5. the ringed entry becomes the next arc to be added to the tree
6. repeat steps 2,3,4 and 5 untill all rows are deleted


A B C D E
A - 27 12 23 74
B 27 - 47 15 71
C 12 47 - 28 87
D 23 15 28 - 75
E 74 71 87 75 -

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
August 28, 2023
Number of pages
1
Written in
2022/2023
Type
SUMMARY

Subjects

$6.82
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
2poppc68

Get to know the seller

Seller avatar
2poppc68 Southampton Solent University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions