CS607 Assignment 2 Solution and Discussion


  • Cyberian's Gold

    Assignment No. 02
    Semester: Fall 2019
    CS607: Artificial Intelligence
    Total Marks: 20

    Due Date:29/11/2019

    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

    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) 47285421
    (b) 52416782

    Question No. 2

    Given the following information you are required to represent it by using the graph.
    o Zulfiqar is Hussain’s Father
    o Zahra is Hussain’s Mother
    o Hussain is Zulfiqar and Zahra‘s Son

    You are required to submit your solution through LMS as an MS Word document.


  • Cyberian's Gold

    75e800c4-734a-4da0-b7f2-a70a573e7d3d-image.png
    e7566592-ccf8-4238-a3cf-7c0cc878a0c5-image.png 1be27094-ad83-452a-975c-3699e530e275-image.png 94972566-8dda-4699-b28e-bbfe10bb71f2-image.png


  • Cyberian's Gold

    • For the 1st Queen, there are total 8 possibilities as we can place 1st Queen in any row of first column. Let’s place Queen 1 on row 3.

    • After placing 1st Queen, there are 7 possibilities left for the 2nd Queen. But wait, we don’t really have 7 possibilities. We cannot place Queen 2 on rows 2, 3 or 4 as those cells are under attack from Queen 1. So, Queen 2 has only 8 – 3 = 5 valid positions left.

    • After picking a position for Queen 2, Queen 3 has even fewer options as most of the cells in its column are under attack from the first 2 Queens.


  • Cyberian's Gold

    Dear Students for Queen Problem Solution Please contact in Live Chat!


  • Cyberian's Gold

    This post is deleted!


    Recent Topics


|