π€ This Prolog project was created as part of an AI course assignment.
It solves delivery drone routing problems using uninformed and informed search strategies.
drone_routing.pl: The Prolog solution for both problems (uninformed and informed search).AI - Assignment 2 [Spring 2025].pdf: The official assignment description provided by the course.
π View Assignment Description
- A drone starts at the top-left corner of a grid.
- It needs to visit as many delivery points (
P) as possible while avoiding obstacles (O). - Implemented using DFS or BFS.
Bonus: Visual representation of the grid before and after pathfinding.
- The drone must visit all delivery points while minimizing total cost.
- Implemented using A* with a heuristic function.
- Path must be the shortest possible to complete all deliveries.
Bonus:
- Energy constraint (e.g., 6 moves max before recharging).
- Recharge station (
R) refills the battery. - Modified A* includes energy logic.
- Open SWI-Prolog or any compatible Prolog interpreter.
- Load the file:
?- consult('drone_routing').- Israa Mohamed
- Amany Mohamed
- Salma Mohamed
- Rana Ibrahim