Skip to content

C++ Application to find Shortest Path, Dynamic Cost and Efficient Pathfinding

Notifications You must be signed in to change notification settings

Amit-Verma5262/MetroApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MetroApp

The Metro Route Optimization System is a graph-based (C++) application designed to find the shortest path between metro stations. Leveraging Dijkstra's algorithm, the system calculates either the shortest distance or the quickest time between any two stations on a metro network. This tool is ideal for optimizing travel routes and improving commuter efficiency.

Features

  • Shortest Path Calculation
  • Dynamic Cost Calculation
  • Efficient Pathfinding
  • Graph Representation
  • Flexible Input Handling
  • Detailed Path Information

Used cases

This project is used by:

  • Commuters seeking the fastest or shortest route between stations.
  • Metro system operators analyzing travel times and optimizing routes.
  • Travel planners looking to enhance commuter experience and efficiency.

Usage/Examples

import Component from 'my-project'

 while (true) {
        cout << "Menu:\n";
        cout << "1. List all stations\n";
        cout << "2. Show the metro map\n";
        cout << "3. Get shortest distance between two stations\n";
        cout << "4. Get shortest time between two stations\n";
        cout << "5. Get shortest path (distance-wise)\n";
        cout << "6. Get shortest path (time-wise)\n";
        cout << "7. Exit\n";
        cout << "Enter your choice: ";
        int choice;
        cin >> choice;

Appendix

Menu Options

  • List All Stations
  • Show the Metro Map
  • Get Shortest Distance
  • Get Shortest Time
  • Get Shortest Path (Distance-wise)
  • Get Shortest Path (Time-wise)
  • Exit

About

C++ Application to find Shortest Path, Dynamic Cost and Efficient Pathfinding

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages