Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/asifhaider/artificial-intelligence-3-2

Implementation of A* Search, Constraint Satisfaction Problem, Local Search and Knowledge Engineering
https://github.com/asifhaider/artificial-intelligence-3-2

a-star-search csp-solver inference-logic latin-square local-search minesweeper n-puzzle

Last synced: 16 days ago
JSON representation

Implementation of A* Search, Constraint Satisfaction Problem, Local Search and Knowledge Engineering

Awesome Lists containing this project

README

        

# Artificial Intelligence Course Assignments

## 1. N-Puzzle Solver (A* Search)

![n-puzzle](/Offline%201%20A*%20Search/n-puzzle.png)

- Applied Hamming distance and Manhattan distance heuristics
- [Problem Statement](/Offline%201%20A*%20Search/Offline%20Heuristic%20Search.pdf)
- [Codes](/Offline%201%20A*%20Search/)

## 2. Latin Square Solver (Constraint Satisfaction Problem)

![csp](/Offline%202%20CSP/latin.png)

- Implemented Simple backtracking and forward-checking solvers with different variable ordering and value ordering heuristics
- [Problem Statement](/Offline%202%20CSP/offline-2-CSP.pdf)
- [Codes](/Offline%202%20CSP/1805112/)

## 3. Exam Scheduling Solver (Local Search)

![local](/Offline%203%20Local%20Search/local.png)

- Implemented various constructive (DSatur algorithm, largest degree, random ordering) and perturbative heuristics (Kempe-chain interchange, Pair-swap operator)
- [Problem Statement](/Offline%203%20Local%20Search/offline-3-on-local-search.pdf)
- [Report](/Offline%203%20Local%20Search/1805112.pdf)
- [Codes](/Offline%203%20Local%20Search/src/)

## 4. Minesweeper Solver (Knowledge Representation and Engineering)

![mine](/Offline%204%20Inference/mine.png)

- Implemented random and safe moves based on discarding diagonal neighbor cells
- [Problem Statement](/Offline%204%20Inference/offline-4-KE.pdf)
- [Code](/Offline%204%20Inference/minesweeper.py)