Question: 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 bitstring of length and returning a real number to be maximized, defined as follows:
def fx: return x x xx
def gx: return logfx
Also consider a genetic algorithm, called GA which uses the following operators: truncament selection, uniform crossover, single bitflip mutation, and comma replacement. Suppose that GA is run once for each objective function by initializing the random number generator with the same seed. Let indicate the two executions with GAfseed and GAgseed Is there a relationship between the solutions evaluated in the executions GAfseed and GAgseed If so explain what it is and try to discuss a more general property of GA Moreover, what if we change the operators of GA
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
