Skip to content

Application of Dijkstra's algorithm to find the shortest path between countries (distance-wise).

Notifications You must be signed in to change notification settings

Mohamad-Jamal-J/Fast-Flight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Fast Flight (Java Application)

Welcome to Fast Flight! This Java application uses Dijkstra's algorithm to find and demonstrate the shortest path between countries on an interactive map using JavaFX and Gluon Maps.

Built on the Gluon starter template, this application uses OpenStreetMap tiles in JavaFX. You can find it here: Gluon Starter.

Run the project on JVM/HotSpot:

  • mvn gluonfx:run
  • or manually from Maven >> Plugins >> gluonfx:run

Key Features for Users

  • Finds and displays the shortest path between selected countries.
  • Enhances user experience with smooth animation and simple abstract UI.
  • Displays shortest path information: Distance and the path taken between the selected countries.
  • Displays a map containing the entire flight path from source to destination countries.

For Developers

  • Dijkstra's Algorithm:

    • Efficiently calculates the shortest path in a weighted graph.
    • Visualization of the algorithm's output step-by-step on the map.
  • JavaFX and Gluon Maps Integration:

    • Uses JavaFX for the user interface and interactive elements.

Basic Requirements

A list of the basic requirements can be found online in the Gluon documentation.

Selected features

This is a list of all the features that were selected when creating the sample:

JavaFX 21 Modules

  • javafx-base
  • javafx-graphics
  • javafx-controls

Gluon Features

  • Maps: cross-device map interfacing

App Screenshots

App Main Interface



main.png


Displaying Shortest Path Details



details.png

Displaying the Path on Map



map.png

Short Demo

Watch App Demo

About

Application of Dijkstra's algorithm to find the shortest path between countries (distance-wise).

Topics

Resources

Stars

Watchers

Forks