This collection was built as programming assignments for an AI-fall 2024 course at IASBS. It serves as both a learning tool and a reference for exploring different search and optimization strategies.
- A* (A-star)
- BFS (Breadth-First Search)
- DFS (Depth-First Search)
- DLS (Depth-Limited Search)
- IDS (Iterative Deepening Search)
- UCS (Uniform-Cost Search)
- Hill Climbing
- PSO (Particle Swarm Optimization)
- SA (Simulated Annealing)
The Simulated Annealing implementation includes a demo using the Ackley function to show how the algorithm explores and optimizes over time
main.py– Entry point to run or test algorithms- Search algorithms:
BFS.py,DFS.py,DLS.py,IDS.py,UCS.py,AS.py - Local/metaheuristic algorithms:
HC.py,PSO.py,SA.py - Helpers:
Function_Generator.py - Visualization:
Informed_Vis.py,Uninformed_Vis.py
- Clone the repo.
- (Optional) Inspect or tweak algorithm parameters.
- Run
main.pyto experiment with different methods. - Use the visualization modules to explore performance.
This project is released under the MIT License.