Skip to content

This project implements Dijkstra's algorithm to find the shortest path between various locations on a campus. The locations are represented as nodes in a graph, with edges denoting the distance between them.

License

Notifications You must be signed in to change notification settings

HareemKH/CampusNav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Campus Navigator - Shortst path finding Algorithm

This project is more than just code; it’s a reflection of my passion for solving real-world challenges. Using Dijkstra's Algorithm, I designed a tool to simplify campus navigation, enabling users to find the shortest path between key locations with ease.

It started as an idea to make my campus feel a little more connected—and along the way, it became a personal achievement, combining the theoretical with the practical.

Features

Shortest Path Calculation: Finds the most efficient route between two locations on campus.

User-Friendly Experience: Simple menu to select destinations and receive detailed results.

Bidirectional Path Mapping: Ensures accurate two-way connections between all locations.

Scalable Design: Ready for adding more locations and features in the future.

License

MIT

Location

CSIT (Starting Point)

Courtyard

Circulation Library

Math Building

Admin Block

Humanities

Auditorium

Medical Dept

Masjid

Future Enhancements

Add more locations and richer campus details.

Develop a graphical interface for better visualization.

Optimize the algorithm for larger, more complex datasets.

Deployment

How to Use -Clone the repository or download the source code. -Open a terminal and navigate to the project directory. -Compile the code

  
g++ -o campus_navigator campus_navigator.cpp

Run the executable

./campus_navigator

Acknowledgements

Thanks to the contributors of Dijkstra's algorithm for the foundational algorithm used in this project.

how it works

Graph Representation: Campus locations are treated as nodes, and paths between them are weighted edges.

Shortest Path Finder: The program calculates the shortest route from CSIT to the selected destination.

Visualization: Displays the total distance and an easy-to-follow path.

Developers Note

This project is a reminder that even small ideas can have a big impact. For me, it wasn’t just about writing code—it was about proving to myself that I could take an idea and make it real, even when I didn’t love the process.

Truth be told, I hate coding. But if this project inspires someone like me—someone who feels disconnected from the world of programming—to take a step closer to it, then my work is done.

Thank you for reading, and happy exploring! 😊

About

This project implements Dijkstra's algorithm to find the shortest path between various locations on a campus. The locations are represented as nodes in a graph, with edges denoting the distance between them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages