Skip to content

Interactive Luxembourg Map Viewer and Shortest Path Calculator Using Dijkstra's Algorithm.

Notifications You must be signed in to change notification settings

tbtiberiu/LuxembourgViewer

Repository files navigation

LuxembourgViewer

Home page

LuxembourgViewer is a C++ project using the Qt framework for calculating the shortest path between two nodes on a map using Dijkstra's algorithm. The program reads an XML file containing nodes and edges, displays the graph on the screen, and allows the user to select the start and end nodes interactively. The shortest path is then calculated and displayed on the map.

Video Presentation

Prerequisites

  • Qt Framework (MSVC 64-bit compiler)
  • Visual Studio
  • Qt Visual Studio Tools Extension

Installation

1. Install Qt Framework

  1. Download and install the Qt Framework.
  2. During installation, ensure you select the MSVC 2019 64-bit compiler.

2. Install Visual Studio

  1. Download and install Visual Studio.
  2. Ensure that the Desktop development with C++ workload is selected during installation.

3. Install Qt Visual Studio Tools Extension

  1. Open Visual Studio.
  2. Navigate to Extensions > Manage Extensions.
  3. Search for "Qt Visual Studio Tools" and install it.
  4. Restart Visual Studio to apply the changes.

Usage

  1. Clone the LuxembourgViewer repository to your local machine:

    git clone https://github.com/tbtiberiu/LuxembourgViewer.git
  2. Open Visual Studio and go to File > New > Project From Existing Code.

  3. Select Visual C++ as the project type and follow the wizard to import the LuxembourgViewer project.

  4. Run the application within Visual Studio (CTRL + F5 on Windows)

  5. Left Click on the map to select the starting node (red dot). Right Click on the map to select the ending node (blue dot). The program will calculate and display the shortest path using Dijkstra's algorithm.

Dijkstra's Algorithm

About

Interactive Luxembourg Map Viewer and Shortest Path Calculator Using Dijkstra's Algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages