91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 153KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-04
  • 語言: Matlab
  • 標簽: NSGAII??

資源簡介

經(jīng)典的多目標優(yōu)化算法,用matlab編的

資源截圖

代碼片段和文件信息

function?f?=?evaluate_objective(x?M?V)

%%?function?f?=?evaluate_objective(x?M?V)
%?Function?to?evaluate?the?objective?functions?for?the?given?input?vector
%?x.?x?is?an?array?of?decision?variables?and?f(1)?f(2)?etc?are?the
%?objective?functions.?The?algorithm?always?minimizes?the?objective
%?function?hence?if?you?would?like?to?maximize?the?function?then?multiply
%?the?function?by?negative?one.?M?is?the?numebr?of?objective?functions?and
%?V?is?the?number?of?decision?variables.?
%
%?This?functions?is?basically?written?by?the?user?who?defines?his/her?own
%?objective?function.?Make?sure?that?the?M?and?V?matches?your?initial?user
%?input.?Make?sure?that?the?
%
%?An?example?objective?function?is?given?below.?It?has?two?six?decision
%?variables?are?two?objective?functions.

%?f?=?[];
%?%%?objective?function?one
%?%?Decision?variables?are?used?to?form?the?objective?function.
%?f(1)?=?1?-?exp(-4*x(1))*(sin(6*pi*x(1)))^6;
%?sum?=?0;
%?for?i?=?2?:?6
%?????sum?=?sum?+?x(i)/4;
%?end
%?%%?Intermediate?function
%?g_x?=?1?+?9*(sum)^(0.25);
%?
%?%%?objective?function?two
%?f(2)?=?g_x*(1?-?((f(1))/(g_x))^2);

%%?Kursawe?proposed?by?Frank?Kursawe.
%?Take?a?look?at?the?following?reference
%?A?variant?of?evolution?strategies?for?vector?optimization.
%?In?H.?P.?Schwefel?and?R.?M鋘ner?editors?Parallel?Problem?Solving?from
%?Nature.?1st?Workshop?PPSN?I?volume?496?of?Lecture?Notes?in?Computer?
%?Science?pages?193-197?Berlin?Germany?oct?1991.?Springer-Verlag.?
%
%?Number?of?objective?is?two?while?it?can?have?arbirtarly?many?decision
%?variables?within?the?range?-5?and?5.?Common?number?of?variables?is?3.
f?=?[];
%?objective?function?one
sum?=?0;
for?i?=?1?:?V?-?1
????sum?=?sum?-?10*exp(-0.2*sqrt((x(i))^2?+?(x(i?+?1))^2));
end
%?Decision?variables?are?used?to?form?the?objective?function.
f(1)?=?sum;

%?objective?function?two
sum?=?0;
for?i?=?1?:?V
????sum?=?sum?+?(abs(x(i))^0.8?+?5*(sin(x(i)))^3);
end
%?Decision?variables?are?used?to?form?the?objective?function.
f(2)?=?sum;

%%?Check?for?error
if?length(f)?~=?M
????error(‘The?number?of?decision?variables?does?not?match?you?previous?input.?Kindly?check?your?objective?function‘);
end

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1316??2014-02-12?12:55??NSGA-II_原版\license.txt

?????文件???????2216??2006-03-17?05:28??NSGA-II_原版\NSGA-II\evaluate_objective.m

?????文件???????7094??2009-07-16?22:08??NSGA-II_原版\NSGA-II\genetic_operator.m

?????文件???????7254??2006-03-17?05:28??NSGA-II_原版\NSGA-II\html\evaluate_objective.html

?????文件??????15130??2006-03-17?05:30??NSGA-II_原版\NSGA-II\html\genetic_operator.html

?????文件???????6575??2006-03-17?05:30??NSGA-II_原版\NSGA-II\html\initialize_variables.html

?????文件??????19336??2006-03-17?05:35??NSGA-II_原版\NSGA-II\html\non_domination_sort_mod.html

?????文件??????21283??2006-03-17?05:29??NSGA-II_原版\NSGA-II\html\nsga_2.html

?????文件???????6402??2006-03-17?05:31??NSGA-II_原版\NSGA-II\html\objective_description_function.html

?????文件???????8174??2006-03-17?05:38??NSGA-II_原版\NSGA-II\html\replace_chromosome.html

?????文件??????10253??2006-03-17?05:37??NSGA-II_原版\NSGA-II\html\tournament_selection.html

?????文件???????3424??2009-07-16?22:09??NSGA-II_原版\NSGA-II\initialize_variables.m

?????文件???????8503??2009-07-16?22:09??NSGA-II_原版\NSGA-II\non_domination_sort_mod.m

?????文件?????134157??2006-03-20?09:24??NSGA-II_原版\NSGA-II\NSGA?II.pdf

?????文件???????9527??2009-07-16?22:09??NSGA-II_原版\NSGA-II\nsga_2.m

?????文件???????3601??2009-07-16?22:09??NSGA-II_原版\NSGA-II\objective_description_function.m

?????文件???????4120??2009-07-16?22:09??NSGA-II_原版\NSGA-II\replace_chromosome.m

?????文件???????5028??2009-07-16?22:09??NSGA-II_原版\NSGA-II\tournament_selection.m

?????目錄??????????0??2015-03-11?17:58??NSGA-II_原版\NSGA-II\html

?????目錄??????????0??2015-03-11?17:58??NSGA-II_原版\NSGA-II

?????目錄??????????0??2015-03-11?17:58??NSGA-II_原版

-----------?---------??----------?-----??----

???????????????273393????????????????????21


評論

共有 條評論