This project implements the Uniform Cost Search (UCS) algorithm to determine the nearest parking location from a starting point on a campus. It provides both textual results and a graphical visualization of the path and costs.
- Finds the nearest parking node based on user input.
- Visualizes the graph with highlighted paths and costs using Matplotlib.
- Highlights:
- Yellow: Starting node.
- Red: Nearest parking node.
- Green: Other parking nodes.
- Input your starting location (A-K).
- The program calculates:
- The nearest parking node.
- The path and total cost.
- Outputs both the result and a graph visualization.
- Clone the repository.
- Install Matplotlib (
pip install matplotlib). - Run the program to find your nearest parking.
This project is licensed under the MIT License.