Codes for Practical experiments of Artificial Intelligence(Semester VI - Computer Engineering - Mumbai University)
Experiment List:
- Introduction to Prolog - Family Relationship
- A simple reflex agent program for the vacuum-cleaner world problem
- Uninformed Search - BFS and DFS algorithm
- Informed Search- A* algorithm
- Adversarial Search using minimax algorithm for Tic Tac Toe
- Implementation of Bayes Belief Network
- Implementation of Partial Order Planning for block world problem
- Ensure you have Python 3.x installed on your machine. You can download it from Python's official website.
- Ensure you have SWI-Prolog installed on your machine. You can download it from SWI-Prolog's official website.
- Clone the repository
git clone https://github.com/riddhigupta1110/ArtificialIntelligence-VI-MU-CSE.git
- Navigate to the project directory:
cd ArtificialIntelligence-VI-MU-CSE
You can run each Python program using any code editor or the command line:
Using Visual Studio Code:
- Open Visual Studio Code.
- Open the project folder (ArtificialIntelligence-VI-MU-CSE) in VS Code.
- Open the desired .py file.
- Run the program by pressing F5 or by clicking the "Run" button in the top-right corner of the editor.
Study material:
Writing and Executing a Prolog Program:
- Write your Prolog program using any text editor (e.g., Notepad++ or Notepad) and save it with a .pl extension in the folder of your choice.
- In SWI-Prolog, load your program by clicking on File -> Consult and then opening the desired file.
- Once the program is loaded, you can start using it by entering queries in the SWI-Prolog console.