I am learning about genetic algorithms.
Why chromosomes are represented using 8 bit binary.
This arose when I apply crossover techniques to the bits.
Please help me to find the answer.Thanks in advance !
I am learning about genetic algorithms.
Why chromosomes are represented using 8 bit binary.
This arose when I apply crossover techniques to the bits.
Please help me to find the answer.Thanks in advance !
Not always. The representation of chromosomes in genetic algorithms is often dependent on the specific problem to be solved and number of variables to be found through the optimization process.
Not only you can chose a 16-bit representation, but integer-based representations are also used as mentioned here.
At the computation level, using a binary representation usually facilitates cross over operations on the bit arrays. 8 bits are compact while already give you a range of 0-255 different values for a given variable, thus provides a first option to go unless you need a larger value space.