Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let f and g be two simple objective functions, taking in input a bit - string of length 4 and returning a real number to

Let f and g be two simple objective functions, taking in input a bit-string of length 4 and returning a real number to be maximized, defined as follows:
def f(x): return 1+ x[0]+ x[1]+ x[2]+5*x[3]
def g(x): return 3*log(f(x))+88.8
Also consider a genetic algorithm, called GA1, which uses the following operators: truncament selection, uniform crossover, single bit-flip mutation, and comma replacement. Suppose that GA1 is run once for each objective function by initializing the random number generator with the same seed. Let indicate the two executions with GA1(f,seed) and GA1(g,seed). Is there a relationship between the solutions evaluated in the executions GA1(f,seed) and GA1(g,seed)? If so, explain what it is and try to discuss a more general property of GA1. Moreover, what if we change the operators of GA1?

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

What is Working Capital ? Explain its types.

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago