27.06.2013 Views

Evolution and Optimum Seeking

Evolution and Optimum Seeking

Evolution and Optimum Seeking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

( + ) <strong>Evolution</strong> Strategy KORR 405<br />

---------------------------------------------------------<br />

SUBROUTINE UMSPEI<br />

1(K1,K2,KK,NY,Y)<br />

DIMENSION Y(NY)<br />

DO 1 K=1,KK<br />

1 Y(K2+K)=Y(K1+K)<br />

RETURN<br />

END<br />

---------------------------------------------------------<br />

Subroutine GNPOOL<br />

GNPOOL supplies a set of variables for a descendant by drawing on the pool of parents<br />

taken together in accordance with the type of recombination selected. This subroutine is<br />

called once each for the object variables X, the strategy variables S, <strong>and</strong> possibly also P.<br />

To minimize storage dem<strong>and</strong>, the changes in the object variables by mutation are added<br />

immediately (J = 3). In intermediary recombination for the positional angle (J = 2), a<br />

check must be made on the di erence between the parental angles to establish suitable<br />

mean values. J = 1 denotes the case where step sizes are involved.<br />

L1 denotes the part of the gene pool from which the parent data are to be drawn if IREKO<br />

= 3 or IREKO = 5. K1 denotes the parent selected by KORR whose data are to be used<br />

when IREKO = 1 (no recombination). K1 <strong>and</strong> K2 denote the two parents whose data are<br />

to be recombined if IREKO =2orIREKO = 4 has been selected.<br />

NZ <strong>and</strong> NN are auxiliary quantities for deriving the addresses in array Y.<br />

NX representsNorNSorNP, XX representsXorSorP,IREKO represents one of the<br />

digits of IREKOM, i.e., IREKOX or IREKOS or IREKOP.<br />

---------------------------------------------------------<br />

SUBROUTINE GNPOOL<br />

1(J,L1,K1,K2,NZ,NN,IELTER,IREKO,NX,NY,XX,Y,GLEICH)<br />

DIMENSION XX(NX),Y(NY)<br />

COMMON/PIDATA/PIHALB,PIEINS,PIZWEI<br />

EXTERNAL GLEICH<br />

IF(J.EQ.3) GOTO 11<br />

GOTO(1,1,1,7,9),IREKO<br />

1 KI1=K1*NZ+NN<br />

IF(IREKO.GT.1) GOTO 3<br />

DO 2 I=1,NX<br />

2 XX(I)=Y(KI1+I)<br />

RETURN<br />

3 KI2=K2*NZ+NN<br />

IF(IREKO.EQ.3) GOTO 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!