100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Further Maths, notes on algorithms for OCR MEI

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

Notes with explanations for modeling with algorithms for OCR MEI











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
August 28, 2023
Number of pages
26
Written in
2022/2023
Type
Lecture notes
Professor(s)
Tristan white
Contains
All classes

Content preview

Dijsktra's Algorithm
FInding the shortest path


It is guarenteed to find us the best possible path, however it is relatively slow as it checks everything.

This is Dijkstra's Algorithm to find the shortest path from S to T through a network.
1. Label the start vertex, S, with the final label, 0.
2. Record a working value att every vertec, Y, that is ditectly connected to the vertex, x, that hs just recieved its
final label
1. Working value at Y = final value at X + weight of arc XY
2. If there is already a working value at Y, it is only replaced if the new value is smaller.
3. Once a vertex has a inal label it is not revisited and its working values are no longer considered
4. Look at the working values at all vertices without final labels. Select the smallest working value. This now
becomes the final label at the vertex. (If two vetticees have the smallest working value either may be given i
final label first).
5. Repeat steps 2 and 3 until the desitnation vertex , T, recieves its final label.

,6. To find the shortest path, trace back from T to S. Given that B already lies on the route, include arc AB
whenever final label of B - final label of A = weight of arc AB.

,Algorithms - Bin Packing
The bin pakcing uses sorting of numbers and is a massive simplification of a real problem.
£9.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
2poppc68

Get to know the seller

Seller avatar
2poppc68 Southampton Solent University
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
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

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions