Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The diagram above is 4 X 4 grid of coins. The problem is to remove 6 coins so that there is an even number of

image text in transcribed

The diagram above is 4 X 4 grid of coins. The problem is to remove 6 coins so that there is an even number of coins in each row and each column.

You are required to solve the problem using a genetic algorithm.

1) Give a computer representation of a chromosome that may be used for this problem. The representation must be efficient and suitable for use by a genetic algorithm. (5)

2) Using the representation in 1), give an example of a chromosome. (3)

3) Define a fitness function that may be used for this problem. The function must be a clearly desribed procedure/algorithm. (5)

4) Use this function to give the fitness of the chromosome you gave in 2). (3)

The diagram above is 44 grid of coinis. The problem 55 to rempue 6 coins 50 that there is an even number of coins in each row and esch column You are tequired to solve the problem using a stenetic ulisorithm

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

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions