Population: P, P'

The maximal population $ P$ has $ length=5$ over an alphabet $ \Sigma = \{0,1\}$. Thus we have $ 2-many$ elements in the alphabet with $ \vert P\vert = 2^{length} = 2^{5} = 32$.

The working set $ P'$ shall be a subset of $ P$ with $ n=4$ many elements in $ P'$. The real values of the elements of $ P'$ will be chosen by chance.

Using the scilab program GA_v4.sec15.2 we can call the function $ popgen()$ to generate a working population $ Pwork$ 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.



Gerd Doeben-Henisch 2013-01-14