Simulating optimal delivery route selection using Uniform Cost Search.
This repository contains the implementation of a Delivery Route Optimization System, developed to calculate the most cost-effective path between two locations using Uniform Cost Search.
- Interactive source and destination input.
- Validation of graph data before computation.
- Direct Routes: Identify the shortest direct path between locations.
- Cost Optimization: Calculates the minimal cost route.
- Reads and processes graph data from CSV files.
- Efficient management of route and cost information.
- Intuitive prompts for seamless navigation.
- Displays optimized path and costs clearly.
- Loads graph data (source, destination, cost) from a CSV file.
- Manages route selection based on minimal cost using a custom priority queue.
- Efficiently finds the optimal route with cost calculations.
- Displays the path and total cost for selected source and destination.
- Programming Language: C
- Algorithms: Uniform Cost Search
- Data Structures: Structures, Priority Queue
- File Handling: CSV Parsing
git clone https://github.com/Rakshak-D/Uniform-cost-search.git
cd Uniform-cost-search
gcc Delivery.c -o delivery
./delivery
- Follow on-screen prompts to enter source and destination.
Enter source: A
Enter destination: C
Optimal route cost from A to C: 30
Path: A -> C
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
feature/your-feature-name
). - Commit your changes.
- Submit a pull request.
For queries or suggestions, feel free to reach out:
- Email: [email protected]
- GitHub: @Rakshak-D
Thank you for visiting! 🚀 Happy coding!