- #1
kikitard
- 6
- 0
Homework Statement
I have a whole two courseworks on Genetic Algorithms, but we have been shown no examples. I am stumped!
1. A function f is set to depend on five variables x1, . . . , x5 where x1 can take 2 different
values, x2 can take 8 different values and x3, x4, x5 each take 4 different values. Design
a minimal binary coding for x1, . . . , x5, i.e. what would a chromosome look like which
encodes these five numbers? What is the maximal number of settings represented by
chromosomes coded this way? What is the number of schemata in this encoding?
This is the very first question.
Homework Equations
Nothing, sorry!
The Attempt at a Solution
I wish I knew where to begin!