Skip to content

Visual Dijkstra Algorythm implementation using Tkinter

Notifications You must be signed in to change notification settings

RochaDiego04/DijkstraAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dijkstra Algorithm

Introduction

In this project we will be implementing Dijkstra's algorithm, which can be found in the file main.py. The algorithm allows users to set a start point and an end point on a grid, and it will calculate the best path between these points. We have also included two non-visual backend implementations of Dijkstra's algorithm to showcase how the algorithm works.

How to Use

  • LEFT CLICK: Use the left mouse button to set the start or end node on the grid.
  • RIGHT CLICK: Use the right mouse button to set barriers that the algorithm cannot search, you can also delete them by right clicking again.
  • Once the start and end nodes are set, you can press the "Start Dijkstra Search" button to begin the search.
  • You can restart the grid by pressing the restart button.

Installation

This project was implemented in Python and requires Tkinter for the graphical interface.

  1. Clone the repository: git clone https://github.com/RochaDiego04/Dijkstra-Algorithm.git

  2. Ensure that you have Python and Tkinter installed on your system before running the project.

Image Image

Credits

This project was developed by Diego Rocha. Contributions and bug reports are welcome :D

About

Visual Dijkstra Algorythm implementation using Tkinter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages