Skip to content

TazelHossan/Artificial-Intelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo Name: Artificial-Intelligence

Some Artificial Intelligence Codes are written in Prolog as well as in Python.


About

This repo includes some Artificial Intelligence Codes which are written in Prolog as well as in Python.

Author

Md.Tazel Hossan
Student of Computer Science & Enginnering Dpt

Skills and Experience

  • ⚛ Prolog
  • 📱 Python3
  • 💻 Python IDLE

Installing Tools

  1. Download prolog .exe from this repo at (https://github.com/TazelHossan/Artificial-Intelligence/tree/main/Software).

    Repo Name : Software

  2. Download Python 3.10 IDLE from this official link (https://www.python.org/downloads/).

    https://www.python.org/downloads/

Examples of Work:

Experiment-1: Construction of a family tree

file name: family_tree.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_1/Experiment.pdf).

Experiment-2: Summation of an integer list & counting the number of elements from that list.

file name: list_count_sum.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_2/Experiment.pdf).

Experiment-3: Construction of a tree of student-teacher-course-year and doing arithmetic operations (sum, subtraction, multiplication, remainder).

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_2/Experiment.pdf).

Experiment-4: Implementing the prolog program for Area of a Circle.

file name: area_of_circle.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-5: Implementing the prolog program for Area of a Triangle.

file name: area_of_triangle.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-6: Implementing the prolog program for Breadth-first search(BFS).

file name: bfs.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-7: Implementing the prolog program for Breadth-first search(BFS).

file name: dfs.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-8: Implementing the prolog program for Depth First Search (DFS) Algorithm.

file name: dfs.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-9: Implementing the prolog program for Factorial of a number.

file name: factorial.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-10: Implementing the prolog program for Greatest common divisor (GCD).

file name: gcd.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-11: Implementing the prolog program for Quadratic Equation.

file name: quadratic_equation.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_3/Experiment_3.pdf).

Experiment-12: Implementing the prolog program for Bitwise AND, Bitwise OR, Bitwise X�OR, Bitwise Left-shift, Bitwise Right shift, Bitwise Complement.

file name: bitwise_and.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_4/Experiment.pdf).

Experiment-13: Implementing the prolog program for N-Queen Problem.

file name: n_queens.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_5/Experiment.pdf).

Experiment-14: Implementing the prolog program for Travelling Salesman Problem (TSP).

file name: tavelling_sale.pl

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/Experiment_6/Experiment.pdf).

Experiment-15: Implementing the Python program for Travelling Salesman Problem (TSP) using Genetic Algorithm.

file name: TSP(Genetic_Algorithm).py

Experiment-16: Implementing the Python program for N-Queen Problem using Genetic Algorithm.

file name: N_Queen(Genetic_Algorithm).py

Download PDF from this link (https://github.com/TazelHossan/Artificial-Intelligence/blob/main/Experiments/N_Queen(Python)/Experiment.pdf).

Experiment-17: Implementing the Python program for N-Queen Problem using Back Tracking.

file name: N_Queens(Back_Tracking).py

Experiment-18: Implementing the Python program for N-Queen Problem using BFS.

file name: N_Queens(BFS).py

Experiment-19: Implementing the Python program for N-Queen Problem using DFS.

Folder name: N_Queens(DFS)

Experiment-20: Implementing the Python program for N-Queen Problem using BFS + DFS.

Folder name: N_Queens(BFS+DFS)

.https://github.com/TazelHossan/Artificial-Intelligence/edit/main/README.md

Feel free to submit a pull request with your suggestions of this repo.

Download This Repo

Download the repo from the github at (https://github.com/TazelHossan/Artificial-Intelligence/).