Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To answer questions ( 3 - b ) , ( 3 - c ) consider the context given below. Assume your agent uses genetic algorithm

To answer questions (3-b),(3-c) consider the context given below.
Assume your agent uses genetic algorithm for certain optimization task. The
description of a chromosome (or state) is of the form
a b c d
in which a, b, c and d can take any value from 0 to 9. The fitness function f(x)
is as below:
f(x)=(a + b)+(c-d)
The initial population x1, x2, x3 and x4 are as below
x1=2913
x2=1258
x3=6284
x3=1597
The agent attempts to find a,b,c and d such that it maximize f(x)
(3-b) Use a simple cross over operation (as discussed in the class) to generate offsprings O1
, O2
, O3 and O4 as follows:
Generate O1
, O2
, using first and third fittest individuals (among x1
, x2
, x3 and x4
)
Generate O3
, O4
, using second and fourth fittest individuals (among x1
, x2
, x3 and x4
)
Comment on the overall fitness of O1
, O2
, O3 and O4
in comparison to x1
, x2
, x3 and x4
. Show all the necessary
computations.
(3-c) Is it possible to reach the optimal solution without a mutation operation? Why or Why not? [Note: Answer in at
most two well articulated statements]
(3-d) Hill climbing with random restarts is guaranteed to find the global optimum. Explain the condition in which this
statement is true. [Note: Answer in at most two well articulated statements]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions