Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Further Maths, notes on algorithms for OCR MEI

Beoordeling
-
Verkocht
-
Pagina's
26
Geüpload op
28-08-2023
Geschreven in
2022/2023

Notes with explanations for modeling with algorithms for OCR MEI

Instelling
Vak

Voorbeeld van de inhoud

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.

Geschreven voor

Study Level
Publisher
Subject
Course

Documentinformatie

Geüpload op
28 augustus 2023
Aantal pagina's
26
Geschreven in
2022/2023
Type
College aantekeningen
Docent(en)
Tristan white
Bevat
Alle colleges

Onderwerpen

€11,84
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kan je een ander document kiezen. Je kan het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
2poppc68

Maak kennis met de verkoper

Seller avatar
2poppc68 Southampton Solent University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
2 jaar
Aantal volgers
0
Documenten
6
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen