27.06.2013 Views

Evolution and Optimum Seeking

Evolution and Optimum Seeking

Evolution and Optimum Seeking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

RETURN<br />

20 DO 21 I=1,NX<br />

21 XX(I)=XX(I)+(Y((L1+IFIX(IELTER*GLEICH(D)))*NZ+NN+I)<br />

1+Y((L1+IFIX(IELTER*GLEICH(D)))*NZ+NN+I))*.5<br />

RETURN<br />

END<br />

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

Subroutine SPEICH<br />

SPEICH transfers to the data pool Y for the parents of the next generation the data of<br />

a descendant representing a successful mutation (the object variables X <strong>and</strong> the strategy<br />

parameters S (<strong>and</strong> P, if used) together with the corresponding value of the objective function).<br />

A check is made that S (<strong>and</strong> P) fall within speci ed bounds.<br />

J is the address in array Y from which pointonwards the data are to be written <strong>and</strong> is<br />

provided by KORR.<br />

ZZ represents ZSTERN or Z, XX represents XSTERN or X.<br />

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

SUBROUTINE SPEICH<br />

1(J,BKORRL,EPSILO,N,NS,NP,NY,ZZ,XX,S,P,Y)<br />

LOGICAL BKORRL<br />

DIMENSION EPSILO(4),XX(N),S(NS),P(NP),Y(NY)<br />

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

K=J<br />

DO 1 I=1,N<br />

K=K+1<br />

1 Y(K)=XX(I)<br />

DO 2 I=1,NS<br />

K=K+1<br />

2 Y(K)=AMAX1(S(I),EPSILO(1))<br />

IF(.NOT.BKORRL) GOTO 4<br />

DO 3 I=1,NP<br />

K=K+1<br />

PI=P(I)<br />

IF(ABS(PI).GT.PIEINS) PI=PI-SIGN(PIZWEI,PI)<br />

3 Y(K)=PI<br />

4 K=K+1<br />

Y(K)=ZZ<br />

RETURN<br />

END<br />

---------------------------------------------------------

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

Saved successfully!

Ooh no, something went wrong!