Skip to content

Developed a Metro App using Java, implementing data structures like Graphs and Heaps to calculate the shortest routes and dynamically determine fare between stations. Applied algorithms such as Dijkstraโ€™s, BFS, and DFS to optimize route navigation and integrated a visual metro map for an enhanced user experience.

Notifications You must be signed in to change notification settings

TanishqCh07/metro-path-navigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

๐Ÿ› ๏ธ Navigating the Metro with Java: Metro App Project ๐Ÿ› ๏ธ

๐ŸŽ‰ Hello there! Iโ€™m excited to present Metro App, a simple yet powerful Java project that demonstrates the use of data structures to solve a real-world problem ๐Ÿš‡. This project allows users to input the source and destination metro stations and displays both the fare and the shortest route between them. The application also features a metro map to enhance commuters' navigation experience ๐ŸŒ.

๐Ÿš€ Project Features Overview ๐Ÿš€

๐ŸŒ Metro App Functionality ๐ŸŒ

  • Shortest Path Calculation: By using different algorithms like Dijkstra, BFS (Breadth-First Search), and DFS (Depth-First Search), the shortest metro route between the source and destination stations is determined.
  • Fare Calculation: The fare is dynamically calculated based on the total distance between the two stations.
  • Metro Map for Navigation: A visual metro map aids in commuter navigation.

๐Ÿ› ๏ธ Core Concepts Used ๐Ÿ› ๏ธ The idea is implemented using Graph and Heap data structures:

  • Nodes: Represent each metro station, containing information such as its name, metro corridor, and connecting lines.
  • Edges: Represent the distance between two metro stations and the fare calculation based on the distance.

๐Ÿ“œ Main Algorithms & Files ๐Ÿ“œ

  • Main.java: Contains the primary code for executing the project logic.
  • Heap.java: Implements the heap data structure used for optimizing path-finding algorithms.

๐Ÿ› ๏ธ Technologies Used ๐Ÿ› ๏ธ

  • Java: For building the entire metro app and implementing data structures.
  • Graph: Represents metro stations and connections.
  • Heap: Optimizes the shortest path algorithm.

๐Ÿš€ Requirements ๐Ÿš€

  • IDE: You can run the project on any IDE like Eclipse, NetBeans, or VSCode.
  • Java Knowledge: Youโ€™ll need some basic understanding of Java programming, especially data structures.
  • Optional: Knowledge of the Java Collection Framework will make things easier. If you are unfamiliar, check out GeeksforGeeks to get started!

๐ŸŒŸ All Set for Your Journey! ๐ŸŒŸ
Dive into this Metro App project and explore how graph theory and Java come together to solve practical problems. Happy coding! ๐Ÿš‡๐Ÿ’ป

About

Developed a Metro App using Java, implementing data structures like Graphs and Heaps to calculate the shortest routes and dynamically determine fare between stations. Applied algorithms such as Dijkstraโ€™s, BFS, and DFS to optimize route navigation and integrated a visual metro map for an enhanced user experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages