A web-based metro route optimization system that helps users find the best routes between stations, including fare calculation and alternative paths.
- Interactive metro station network visualization
- Shortest path finding using Dijkstra's algorithm
- Alternative route suggestions
- Real-time fare calculation with student and senior citizen discounts
- Responsive design for all devices
- Interactive route selection and highlighting
- Distance-based zone fare system
- HTML5
- CSS3
- JavaScript (ES6+)
- vis.js Network for graph visualization
- Clone the repository
git clone [your-repository-url]- Open
index.htmlin your web browser
- Click "Get Started" and enter your details
- Select your starting and destination stations
- View the suggested routes with:
- Distance information
- Fare calculation
- Alternative paths
- Click on any route to highlight it on the map
- Implements Dijkstra's algorithm for shortest path
- Provides alternative routes using DFS
- Shows multiple path options with different colors
- Zone-based pricing system
- Special discounts for students (50%) and senior citizens (40%)
- Dynamic fare updates based on distance
- Click-to-highlight routes
- Smooth animations
- Responsive station network display
- Clear station labeling
Feel free to fork this project and submit pull requests for any improvements.
This project is licensed under the MIT License - see the LICENSE file for details.





