The maximal population has
over an alphabet
. Thus we have
elements in the alphabet with
.
The working set shall be a subset of
with
many elements in
. The real values of the elements of
will be chosen by chance.
Using the scilab program GA_v4.sec15.2 we can call the function to generate a working population
with 4 many members, each member with the length=5:
-->n=4, l=5,[Pwork]=popgen(n,l) n = 4. l = 5. Pwork = 0. 1. 0. 0. 0. 0. 1. 0. 0. 1. 1. 0. 0. 1. 0. 1. 0. 0. 0. 0.