Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mouralisandra/artificialintelligencelabs

A collection of AI labs for the Artificial Intelligence course taught at INSAT. Those labs contain manual implementation and optimisations of both informed and uninformed search algorithms to solve the Sliding Puzzle game and CSP algorithms with different heuristics to solve the Sudoku game.
https://github.com/mouralisandra/artificialintelligencelabs

ai astar-algorithm bfs csp dfs heuristics informed-search uninformed-search

Last synced: 25 days ago
JSON representation

A collection of AI labs for the Artificial Intelligence course taught at INSAT. Those labs contain manual implementation and optimisations of both informed and uninformed search algorithms to solve the Sliding Puzzle game and CSP algorithms with different heuristics to solve the Sudoku game.

Awesome Lists containing this project

README

        

# ArtificialIntelligenceLabs
A collection of AI labs for the Artificial Intelligence course taught at INSAT. Those labs contain manual implementation and optimisations of both informed and uninformed search algorithms to solve the Sliding Puzzle game and CSP algorithms with different heuristics to solve the Sudoku game.

## Search Algorithms :
Manual implementation and optimisation of the :
* `Breadth-First-Search + iterative`
* `Depth-First-Search + iterative`
* `A* Star Search Algorithms` with the the sum of all the `Manhatten` distance of each tile to its goal position and the `Misplaced Tile` admissible `Heuristics`.

![image](https://github.com/mouralisandra/ArtificialIntelligenceLabs/assets/98917826/6cf43b3f-2042-48f2-86a2-175560f9ea18)

* Comparison of the different search algorithms in proportion to the grid side of the Sliding Puzzle game :

![image](https://github.com/mouralisandra/ArtificialIntelligenceLabs/assets/98917826/532ffe41-814c-44fc-a7d7-a462a78bbd82)

## Constarint Satisfaction Problems:
Manual implementation of `CSP algorithms` using the Mininmum Remaining Value `MRV Heuristic` to solve the Sudoku game.

* Results Without Heuristic :

![image](https://github.com/mouralisandra/ArtificialIntelligenceLabs/assets/98917826/5e1ae15c-7867-4d8c-8bf6-3c6313978102)

* Results With Heuristic :

![image](https://github.com/mouralisandra/ArtificialIntelligenceLabs/assets/98917826/4a401cab-2e2b-48fe-b02f-fa9b379c5e15)