[SOLVED] Artificial Intelligence - Assignment 3

25.00 $

Programming resource
Digital learning resource
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

 

1. Write a program (C/Python) to solve the 8-queen problem using stochastic hill climbing search strategy. You should report the following for the search strategy:
a. Demonstrate step-wise execution of the search strategy
b. The number of states/nodes generated/expanded

2. Write a program (C/Python) to solve the following problem using Genetic Algorithm.
You should report the following for the search strategy:
a. Demonstrate step-wise execution of the search strategy
b. The number of states/nodes generated/expanded
Problem: Maximize f(x) =2×2 +1, where 0<x<=6
3. Write a program (C/Python) to solve the following problem using Particle Swarm Optimization. You should report the following for the search strategy:
c. Demonstrate step-wise execution of the search strategy
d. The number of states/nodes generated/expanded
Problem: Divide the N students in k groups based on their marks in AI such as diversity in each group is minimized.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.