We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS607 Assignment No 02 Spring 2020 Solution & Discussion Due Date: 15-06-2020

CS607 Assignment No 02 Spring 2020 Solution & Discussion Due Date: 15-06-2020

Assignment

Question No. 1 Marks 10

Consider the Eight-Queen problem to use representation and strategy on chess board. Show the positions of Individuals on chess board table and calculate the fitness values for both individuals in first iteration. The individuals (board positions) are given below:
(a) 64321532
(b) 74258212

Question No. 2 Marks 10

Given the following information you are required to represent it by using the graph.
Zainab is Ali’s Mother
Ali is Asad and Zainab‘s Son

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 981

### Replies to This Discussion

CS607 Artificial Intelligence Assignment 2 Solution & Discussion Spring 2020

 Assignment No. 02Semester: Spring 2020 CS607: Artificial Intelligence Total Marks: 20 Due Date:15/06/2020 Instructions It should be clear that your assignment will not get any credit if: §  The assignment is submitted after the due date. §  The submitted assignment does not open or the file is corrupt. §  The Solution is copied from any other source.   Objective The objective of this assignment is to; §  Learn and practice basic concepts of Eight Queen problem. §  Basic understanding of Knowledge representation through graph.   Assignment  Question No. 1                                       Marks 10 Consider the Eight-Queen problem to use representation and strategy on chess board. Show the positions of Individuals on chess board table and calculate the fitness values for both individuals in first iteration. The individuals (board positions) are given below: (a)  64321532 (b)  74258212   Question No. 2                                       Marks 10  Given the following information you are required to represent it by using the graph. o   Asad is Ali’s Father o   Zainab is Ali’s Mother o   Ali is Asad and Zainab‘s Son   You are required to submit your solution through LMS as an MS Word document.

This is not solution but you may clear your concepts from here.

The 8 digits for eight columns specify the index of the row where the queen
is placed. For example, the sequence 2 6 8 3 4 5 3 1 tells us that in first column the queen is placed in the second row, in the second column the queen is in the 6
th row so on till in the 8th column the queen is in the 1st row

Now we need a fitness function, a function by which we can tell which board
position is nearer to our goal. Since we are going to select best individuals at
every step, we need to define a method to rate these board positions or
individuals. One fitness function can be to count the number of pairs of Queens that are not attacking each other. An example of how to compute the fitness of a board configuration is given in the diagram.

CS607 Assignment 2 Complete Correct Solution Solved 2020 || Spring 2020

Aoa,

Bhai Q1 bhi to none ko attack ker raha h is ko add nahi kia ap ny no of Fitness mein

# Learn CS607 Artificial Intelligence with Washi - Solution of CS607 Assignment 2 Spring 2020

In this video we learn #eight #queen problem and show the position of queens on the chess board and their fitness value and second we learn how to represent the knowledge through graph

## Latest Activity

Muhammad Bilal liked Zoey D's discussion Ek masoomana sawal ...(¬‿¬)
5 hours ago
Mr A updated their profile
6 hours ago
6 hours ago
Sana Sunny ツ liked +M.Tariq Malik's discussion Project Report On E-Business
6 hours ago
6 hours ago
Sana Sunny ツ liked +M.Tariq Malik's discussion PROJECT ON AUTOMOBILE INDUSTRY
6 hours ago
6 hours ago
6 hours ago

1

2

3