Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume your agent uses genetic algorithm for certain optimization task. The description of a chromosome ( or state ) is of the form a b

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]

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

Step: 3

blur-text-image

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

What is an interface? What keyword is used to define one?

Answered: 1 week ago