| | SLO | ENG | Cookies and privacy

Bigger font | Smaller font

Show document Help

Title:Hanojski stolp z usmerjenimi premiki diskov
Authors:ID Golob, Martina (Author)
ID Klavžar, Sandi (Mentor) More about this mentor... New window
ID Petr, Ciril (Comentor)
Files:.pdf UN_Golob_Martina_2016.pdf (541,41 KB)
MD5: 5462EB1B266065A3B5E478C3A4BD971A
 
Language:Slovenian
Work type:Undergraduate thesis
Typology:2.11 - Undergraduate Thesis
Organization:FNM - Faculty of Natural Sciences and Mathematics
Abstract:Igra Hanojski stolp spada v področje razvedrilne matematike. Rešujemo jo tako, da premikamo diske iz začetne palice na končno palico po določenih pravilih. Cilj igre je uporabiti najmanjše število premikov. V diplomskem delu obravnavamo Hanojski stolp z usmerjenimi premiki diskov, kar pomeni, da obstajajo omejitve pri premikih. Ločimo pet različnih primerov Hanojskega stolpa, ki jih ponazorimo z digrafi. Vsak digraf ima tri vozlišča, med katerimi obstajajo usmerjene povezave. V prvem delu bomo najprej predstavili Hanojski stolp in podali osnovne definicije o grafih. V naslednjem poglavju se bomo osredotočili na rekurzivno in iterativno rešitev problema. Jedro diplomskega dela predstavljajo optimalne rešitve za vsak digraf ter izračunano število premikov. V zaključku bomo z digrafi stanj vizualizirali prepovedane, dovoljene ter uporabljene premike pri iskanju optimalne rešitve. Končna ugotovitev kaže na to, da podan algoritem za reševanje Hanojskega stolpa z omejenimi premiki daje optimalne rešitve problema. Vsaka druga rešitev daje nujno večje število premikov. Za vsak digraf bomo zapisali natančno formulo za izračun števila premikov.
Keywords:Hanojski stolp, graf, digraf, rekurzija, iteracija, število premikov, optimalne rešitve.
Place of publishing:Maribor
Publisher:[M. Golob]
Year of publishing:2016
PID:20.500.12556/DKUM-63944 New window
UDC:519.1(043.2)
COBISS.SI-ID:22724360 New window
NUK URN:URN:SI:UM:DK:X5SFNXUN
Publication date in DKUM:11.11.2016
Views:2449
Downloads:148
Metadata:XML DC-XML DC-RDF
Categories:FNM
:
GOLOB, Martina, 2016, Hanojski stolp z usmerjenimi premiki diskov [online]. Bachelor’s thesis. Maribor : M. Golob. [Accessed 15 March 2025]. Retrieved from: https://dk.um.si/IzpisGradiva.php?lang=eng&id=63944
Copy citation
  
Average score:
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
(0 votes)
Your score:Voting is allowed only for logged in users.
Share:Bookmark and Share


Hover the mouse pointer over a document title to show the abstract or click on the title to get all document metadata.

Secondary language

Language:English
Title:The Tower of Hanoi with forbidden moves
Abstract:The game the Tower of Hanoi falls within the area of recreational mathematics. We solve it by moving discs from the initial position to the final position according to certain rules. The objective is to use minimal number of moves. In this graduation thesis we deal with the Tower of Hanoi with forbidden moves, which means that there are certain limited moves. We investigate five different cases of Hanoi Tower, which are represented by digraphs. Every digraph is a digraph on three vertices, between which there can be directed edges. In the first part we will introduce the Tower of Hanoi and present basic definitions of graphs. In the next chapter we will deal with the recursive and the iterative solution. The focus of this graduation thesis is on optimal solution of every digraph and calculated number of moves. In the last chapter we will visualize forbidden, allowed and used moves in the search of the optimal solution. The final results show, that the given algorithm for solving Hanoi Tower with forbidden moves provides optimal solution of the problem. Moreover, every distinct solution takes strictly more moves than the given algorithm. We will write down a precise formula for the number of moves for every digraph.
Keywords:The Tower of Hanoi, graph, digraph, recursion, iteration, number of moves, optimal solutions.


Comments

Leave comment

You must log in to leave a comment.

Comments (0)
0 - 0 / 0
 
There are no comments!

Back
Logos of partners University of Maribor University of Ljubljana University of Primorska University of Nova Gorica