⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaw.ps

📁 较好的一种新的关于遗传算法的源程序
💻 PS
📖 第 1 页 / 共 5 页
字号:
%!PS-Adobe-1.0%%Creator: europa:mrh (Mark Hughes)%%Title: stdin%%CreationDate: Mon Jun 29 10:53:43 1992%%DocumentFonts: Times-Roman Times-Italic Times-Bold Symbol Times-Roman DIThacks%%Pages: (atend)%%EndComments% Start of pscat.pro -- prolog for troff translator% Copyright (c) 1985,1987 Adobe Systems Incorporated. All Rights Reserved. % GOVERNMENT END USERS: See Notice file in TranScript library directory% -- probably /usr/lib/ps/Notice% RCS: $Header: pscat.pro,v 2.2 87/11/17 16:40:32 byron Rel $save /pscatsave exch def/$pscat 50 dict def$pscat begin/fm [1 0 0 1 0 0] def/xo -100 def /yo 140 def/M /moveto load def/R /show load def/S {exch currentpoint exch pop moveto show}def/T {exch currentpoint pop exch moveto show}def/U {3 1 roll moveto show}def/siz 0 def/font 0 def/Z {/siz exch def SF}def/F {/font exch def SF}def/SF{font 0 ne    {catfonts font 1 sub get fm 0 siz put fm 3 siz neg put      fm makefont setfont}if}def/BP{save/catsv exch def 0 792 translate 72 432 div dup neg scale   xo yo translate 0 0 moveto}def/BPL{save/catsv exch def 72 8.25 mul 792 translate -90 rotate  72 432 div dup neg scale xo yo translate 0 0 moveto}def/EP{catsv restore showpage}def/SetStTime{statusdict /manualfeedtimeout 120 put} def/SetStatus{statusdict /manualfeed true put   statusdict /product get (LaserWriter) eq    {version (23.0) eq  % Don't redefine EP if printer is not "Classic LW"     {/EP {catsv restore	 {statusdict /printerstatus get exec 16#22000000 and 0 eq{exit}if}loop	 showpage}def}if }if}def% definitions for PPROC callback functions% each PPROC is called with the following number on the stack:% pointsize charcode railmag pswidth pschar x y wid/$pprocs 50 dict def/fractm [.65 0 0 .6 0 0] def% fractions/PS1{gsave $pprocs begin    /wid exch def pop pop pop pop pop /ch exch def /size exch def    /pair $pprocs ch get def /cf currentfont def    cf fractm makefont setfont    0 .3 size mul 6 mul 2 copy neg rmoveto pair 0 get show rmoveto    currentfont cf setfont (\244) show setfont    pair 1 get show grestore wid .06 div 0 rmoveto end}def$pprocs begin8#34 [(1)(4)] def8#36 [(1)(2)] def8#46 [(3)(4)] defend% DIThacks fonts for some special chars50 dict dup begin/FontType 3 def/FontName /DIThacks def/FontMatrix [.001 0.0 0.0 .001 0.0 0.0] def/FontBBox [-220 -280 900 900] def% a lie but .../Encoding 256 array def0 1 255{Encoding exch /.notdef put}forEncoding dup 8#040/space put %space dup 8#110/rc put %right ceil dup 8#111/lt put %left  top curl dup 8#112/bv put %bold vert dup 8#113/lk put %left  mid curl dup 8#114/lb put %left  bot curl dup 8#115/rt put %right top curl dup 8#116/rk put %right mid curl dup 8#117/rb put %right bot curl dup 8#120/rf put %right floor dup 8#121/lf put %left  floor dup 8#122/lc put %left  ceil dup 8#140/sq put %square dup 8#141/bx put %box dup 8#142/ci put %circle dup 8#143/br put %box rule dup 8#144/rn put %root extender dup 8#145/vr put %vertical rule dup 8#146/ob put %outline bullet dup 8#147/bu put %bullet dup 8#150/ru put %rule dup 8#151/ul put %underline pop/DITfd 100 dict def/BuildChar{0 begin /cc exch def /fd exch def /charname fd /Encoding get cc get def /charwid fd /Metrics get charname get def /charproc fd /CharProcs get charname get def charwid 0 fd /FontBBox get aload pop setcachedevice 40 setlinewidth newpath 0 0 moveto gsave charproc grestore end}def/BuildChar load 0 DITfd put%/UniqueID 5 def/CharProcs 50 dict defCharProcs begin/space{}def/.notdef{}def/ru{500 0 rls}def/rn{0 750 moveto 500 0 rls}def/vr{20 800 moveto 0 -770 rls}def/bv{20 800 moveto 0 -1000 rls}def/br{20 770 moveto 0 -1040 rls}def/ul{0 -250 moveto 500 0 rls}def/ob{200 250 rmoveto currentpoint newpath 200 0 360 arc closepath stroke}def/bu{200 250 rmoveto currentpoint newpath 200 0 360 arc closepath fill}def/sq{80 0 rmoveto currentpoint dround newpath moveto    640 0 rlineto 0 640 rlineto -640 0 rlineto closepath stroke}def/bx{80 0 rmoveto currentpoint dround newpath moveto    640 0 rlineto 0 640 rlineto -640 0 rlineto closepath fill}def/ci{355 333 rmoveto currentpoint newpath 333 0 360 arc    50 setlinewidth stroke}def/lt{20 -200 moveto 0 550 rlineto currx 800 2cx s4 add exch s4 a4p stroke}def/lb{20 800 moveto 0 -550 rlineto currx -200 2cx s4 add exch s4 a4p stroke}def/rt{20 -200 moveto 0 550 rlineto currx 800 2cx s4 sub exch s4 a4p stroke}def/rb{20 800 moveto 0 -500 rlineto currx -200 2cx s4 sub exch s4 a4p stroke}def/lk{20 800 moveto 20 300 -280 300 s4 arcto pop pop 1000 sub    currentpoint stroke moveto    20 300 4 2 roll s4 a4p 20 -200 lineto stroke}def/rk{20 800 moveto 20 300 320 300 s4 arcto pop pop 1000 sub    currentpoint stroke moveto    20 300 4 2 roll s4 a4p 20 -200 lineto stroke}def/lf{20 800 moveto 0 -1000 rlineto s4 0 rls}def/rf{20 800 moveto 0 -1000 rlineto s4 neg 0 rls}def/lc{20 -200 moveto 0 1000 rlineto s4 0 rls}def/rc{20 -200 moveto 0 1000 rlineto s4 neg 0 rls}defend/Metrics 50 dict def Metrics begin/.notdef 0 def/space 500 def/ru 500 def/br 0 def/lt 250 def/lb 250 def/rt 250 def/rb 250 def/lk 250 def/rk 250 def/rc 250 def/lc 250 def/rf 250 def/lf 250 def/bv 250 def/ob 350 def/bu 350 def/ci 750 def/bx 750 def/sq 750 def/rn 500 def/ul 500 def/vr 0 defendDITfd begin/s2 500 def /s4 250 def /s3 333 def/a4p{arcto pop pop pop pop}def/2cx{2 copy exch}def/rls{rlineto stroke}def/currx{currentpoint pop}def/dround{transform round exch round exch itransform} defendend/DIThacks exch definefont pop/catfonts [	/Times-Roman findfont	/Times-Italic findfont	/Times-Bold findfont	/Symbol findfont	/Times-Roman findfont	/DIThacks findfont	] def%%EndProlog%%Page: ? 1BP3 F72 Z1068 594(Genetic)U1328(Algorithm)S1672(Workbench)S2060(Documentation)S2 F66 Z3114 1137(t)U540 1215(b)U540 1137(The)U665(Genetic)S895(Algorithm)S1188(Workbench)S1514(program)S1772(and)S1896(its)S1983(documentation)S2399(are)S2512(copyright)S2789(and)S2913(may)S3048(no)S573 1215(e)U629(copied)S831(or)S917(distributed)S1229(without)S1453(written)S1666(permission)S1983(from)S2134(the)S2240(author)S2442(with)S2581(the)S2687(following)S2961(excep-)S540 1473(\()U540 1293(tions:)U562 1473(1\))U690(Copies)S899(of)S976(the)S1082(software)S1335(and)S1460(this)S1581(documentation)S1998(may)S2133(be)S2220(made)S2388(and)S2512(passed)S2717(on)S2808(to)S2884(any)S3004(third)S3099 1551(n)U690 1629(u)U690 1551(party)U869(provided)S1143(that)S1285(all)S1393(the)S1512(\256les)S1657(on)S1762(the)S1881(distribution)S2227(disk)S2372(are)S2499(distributed)S2823(together)S3081(i)S723 1629(nmodi\256ed)U1005(form,)S1169(and)S1290(providing)S1568(that)S1692(no)S1780(pro\256t)S1945(is)S2011(made)S2176(from)S2323(such)S2466(distribution.)S3099 1809(g)U540(\(2\))S690(A)S753(reasonable)S1069(number)S1294(of)S1368(copies)S1559(may)S1692(be)S1777(made)S1943(of)S2017(the)S2120(software)S2370(for)S2470(the)S2572(purpose)S2807(of)S2880(archivin)S690 1887(to)U763(guard)S943(against)S1159(corruption)S1463(of)S1536(the)S1638(working)S1876(copy)S2022(of)S2095(the)S2197(software.)S3099 2067(n)U540 2145(a)U540 2067(The)U666(software)S920(can)S1042(be)S1131(used)S1279(without)S1503(restriction)S1804(or)S1890(payment,)S2157(but)S2268(you)S2390(are)S2505(encouraged)S2842(to)S2919(send)S3066(a)S573 2145(ppropriate)U879(contribution)S1228(in)S1303(sterling)S1528(to)S1603(the)S1707(author)S1907(if)S1967(you)S2086(feel)S2204(that)S2330(the)S2434(program)S2690(has)S2806(been)S2953(of)S3027(use.)S540 2403(N)U540 2223(See)U653(section)S861(4)S916(for)S1015(the)S1117(author's)S1363(address.)S584 2403(o)U651(warranty)S927(is)S1005(given)S1181(that)S1317(this)S1445(software)S1705(is)S1782(\256t)S1866(for)S1976(any)S2104(purpose,)S2367(nor)S2492(that)S2627(it)S2696(will)S2827(perform)S3073(as)S540 2481(described)U818(in)S891(this)S1008(manual.)S1267(You)S1392(use)S1502(it)S1560(entirely)S1782(at)S1855(your)S1998(own)S2130(risk.)S660 2895(Copyright)U949(\(C\))S1059(Mark)S1224(Hughes)S1448(1989.)S1619(All)S1717(rights)S1893(reserved.)S660 3051(Last)U796(Change:)S1067(30)S1155(November)S1448(1989.)SEP%%Page: ? 2BP3 F72 Z540 516(C)U(ONTENTS)R1 F66 Z660 696(1)U(.)R876(Introduction)S660 1008(3)U660 852(2.)U876(Purpose)S693 1008(.)U876(Using)S1056(the)S1158(Genetic)S1384(Algorithm)S1680(Workbench)S2009(Program)S876 1242(3)U876 1164(3.1)U1092(Hardware)S1374(Requirements)S909 1242(.2)U1092(Running)S1341(the)S1443(Program)S876 1398(3)U876 1320(3.3)U1092(Screen)S1293(Display)S909 1398(.4)U1092(Menu)S1268(Commands)S1790 1476(s)U660 1632(4)U876 1476(3.5)U1092(Program)S1341(Control)S1564(Variable)S693 1632(.)U876(Bibliography)S660 1788(5)U(.)R876(Appendix)S1158(A)S1228(-)S1316(Workbench)S1645(Algorithms)S2229 1944(m)U876 2022(5)U876 1944(5.1)U1092(Solving)S1319(Problems)S1590(with)S1729(a)S1780(Genetic)S2006(Algorith)S909 2022(.2)U1092(Genetic)S1318(Coding)S1996 2100(n)U876 2178(5)U876 2100(5.3)U1092(Genetic)S1318(Algorithm)S1614(Implementa)S1927(tio)S909 2178(.4)U1092(Summary)S1370(of)S1447(Algorithm)S1743(Input)S1904(Variables)S1092 2412(5)U1092 2334(5.4.1)U1308(Population)S1125 2412(.4.2)U1308(Fitness)S1517(Scaling)S1749 2490(n)U1092 2568(5)U1092 2490(5.4.3)U1308(Breeder)S1538(Selectio)S1125 2568(.4.4)U1308(Generation)S1622(Gap)S1702 2646(n)U1092 2724(5)U1092 2646(5.4.5)U1308(Mates)S1491(Selectio)S1125 2724(.4.6)U1308(Mating)S1554 2802(r)U1092 2880(5)U1092 2802(5.4.7)U1308(Crossove)S1125 2880(.4.8)U1308(Mutation)S1571(Probability)S1092 3036(5)U1092 2958(5.4.9)U1308(Dispersal)S1125 3036(.4.10)U1308(Crowding)S1594(Factor)S1092 3192(5)U1092 3114(5.4.11)U1308(Elitism)S1125 3192(.4.12)U1308(Sacri\256ce)S1560(Selection)S876 3426(5)U876 3348(5.5)U1092(Output)S1297(Variables)S909 3426(.6)U1092(References)S660 3582(6)U(.)R876(Appendix)S1158(B)S1224(-)S1312(A)S1382(Typical)S1604(Session)S1828(Using)S2008(the)S2110(Workbench)S660 3894(8)U660 3738(7.)U876(Appendix)S1158(C)S1224(-)S1312(Problems)S1583(and)S1700(How)S1851(to)S1924(Fix)S2034(Them)S693 3894(.)U876(Appendix)S1158(D)S1228(-)S1316(General)S1546(Introduction)S1893(to)S1966(Genetic)S2192(Algorithms)S660 4050(9.)U876(Appendix)S1158(E)S1220(-)S1308(Main)S1469(Command)S1765(Menu)S3 F72 Z1818 4383(1)UEP%%Page: ? 3BP1 F66 Z540 696(T)U3 F72 Z540 516(1.)U642(Introduction)S1 F66 Z580 696(his)U688(is)S763(a)S823(user's)S1012(manual)S1236(for)S1344(the)S1454(Genetic)S1688(Algorithm)S1992(Workbench)S2329(program)S2582(which)S2773(is)S2847(an)S2939(in-)S540 852(c)U540 774(teractive)U793(tool)S923(for)S1028(demonstrating)S1432(and)S1554(experimenti)S1867(ng)S1960(with)S2104(genetic)S2320(algorithms)S2628(using)S2798(an)S2887(IBM)S569 852(ompatible)U857(personal)S1106(computer.)S1419(This)S1562(is)S1632(not)S1742(a)S1797(set)S1896(of)S1977(subroutines)S2307(for)S2410(inclusion)S2676(in)S2752(your)S2898(own)S540 1110(T)U540 930(programs.)U850(If)S916(that)S1036(is)S1102(what)S1252(you)S1373(require,)S1598(see)S1704(the)S1806(bibliography)S2164(for)S2263(details)S2456(of)S2533(GENESIS.)S580 1110(he)U664(manual)S879(commences)S1211(with)S1350(a)S1401(description)S1715(of)S1792(the)S1894(purpose)S2125(of)S2202(the)S2304(Workbench)S2633(in)S2706(section)S2914(2.)S2990 1290(-)U540 1368(m)U540 1290(Section)U767(3)S830(then)S973(describes)S1248(how)S1392(to)S1473(use)S1591(the)S1701(program)S1954(and)S2078(gives)S2246(details)S2446(of)S2530(hardware)S2804(require)S591 1368(ents,)U740(instructions)S1073(for)S1176(running)S1407(the)S1513(program,)S1779(an)S1867(explanation)S2198(of)S2278(the)S2383(screen)S2576(display,)S2808(and)S2928(ex-)S2990 1446(-)U540 1524(a)U540 1446(plains)U729(how)S875(to)S957(control)S1174(the)S1285(program)S1539(using)S1713(the)S1824(command)S2114(menu)S2291(and)S2417(program)S2671(control)S2888(vari)S569 1524(bles.)U540 1704(S)U(ection)R759(4)S814(contains)S1055(a)S1106(short)S1260(bibliography.)S540 1884(A)U(ppendix)R834(A)S916(describes)S1195(the)S1309(detailed)S1549(operation)S1830(of)S1918(the)S2031(genetic)S2253(algorithm)S2541(employed)S2833(by)S2932(the)S540 2040(\256)U540 1962(Workbench)U877(and)S1002(the)S1112(effect)S1290(of)S1374(each)S1523(algorithm)S1807(input)S1971(variable.)S2250(It)S2319(gives)S2487(details)S2687(of)S2771(where)S2961(to)S577 2040(nd)U671(further)S878(information)S1216(about)S1390(the)S1498(theory)S1693(of)S1775(the)S1882(different)S2135(aspects)S2352(of)S2434(the)S2541(genetic)S2757(algorithm)S2986 2118(s)U540 2196(a)U540 2118(which)U731(are)S841(described.)S1162(An)S1273(explanation)S1609(of)S1694(each)S1844(output)S2042(variable)S2283(displayed)S2565(on)S2661(the)S2771(screen)S2968(i)S569 2196(lso)U668(given.)S540 2376(A)U(ppendix)R822(B)S888(contains)S1129(a)S1180(short)S1334(step)S1462(by)S1550(step)S1678(example)S1922(of)S1999(using)S2164(the)S2266(Workbench.)S2660 2556(.)U540 2736(A)U540 2556(Appendix)U822(C)S888(may)S1023(help)S1158(if)S1220(you)S1341(encounter)S1622(problems)S1889(trying)S2068(to)S2141(use)S2251(the)S2353(Workbench)S588 2736(ppendix)U830(D)S908(includes)S1157(an)S1249(article)S1442(as)S1527(a)S1586(general)S1809(introduction)S2160(to)S2240(genetic)S2458(algorithms)S2768(and)S2892(their)S540 2994(A)U540 2814(applicati)U765(ons.)S588 2994(ppendix)U822(E)S884(is)S950(a)S1001(brief)S1147(summary)S1414(of)S1491(the)S1593(Workbench)S1922(command)S2203(menu.)S540 3402(T)U3 F72 Z540 3222(2.)U642(Purpose)S1 F66 Z580 3402(he)U670(purpose)S907(of)S990(the)S1098(Workbench)S1433(program)S1684(is)S1756(to)S1835(allow)S2009(experimenta)S2333(tion)S2463(with)S2607(search)S2802(and)S2924(op-)S2990 3480(f)U540 3558(g)U540 3480(timisation)U839(algorithms.)S1196(It)S1273(is)S1354(primarily)S1635(a)S1701(tool)S1839(for)S1952(experimenti)S2265(ng)S2367(with)S2520(different)S2782(types)S2957(o)S573 3558(enetic)U755(algorithm,)S1053(but)S1163(is)S1233(also)S1365(intended)S1617(for)S1720(use)S1833(in)S1909(comparing)S2215(genetic)S2429(algorithms)S2735(with)S2877(other)S540 3816(A)U540 3636(techniques)U843(although)S1095(so)S1176(far)S1271(only)S1410(the)S1512(genetic)S1723(algorithm)S2000(has)S2110(been)S2256(implement)S2536(ed.)S611 3816(genetic)U823(algorithm)S1101(is)S1168(a)S1220(method)S1440(for)S1540(\256nding)S1750(the)S1853(peaks)S2026(of)S2104(dif\256cult)S2335(functions,)S2620(and)S2738(the)S2840(Work-)S2990 3894(-)U540 3972(f)U540 3894(bench)U726(program)S977(is)S1049(both)S1194(for)S1299(demonstrating)S1703(genetic)S1920(algorithms)S2229(and)S2352(for)S2457(evaluating)S2758(their)S2906(per)S562 3972(ormance.)U3 F72 Z1818 4383(2)UEP%%Page: ? 4BP1 F66 Z2983 516(e)U540 594(s)U540 516(The)U672(idea)S811(is)S885(that)S1013(you)S1142(provide)S1373(a)S1432(function,)S1698(the)S5 F1807(")S1 F(Target)R2035(Function)S5 F(")R1 F2326(and)S2450(see)S2563(how)S2706(quickly)S2932(th)S566 594(elected)U777(algorithm)S1058(is)S1128(able)S1263(to)S1340(\256nd)S1469(the)S1575(peak)S1725(value,)S1910(or)S1991(indeed)S2192(if)S2258(it)S2320(succeeds)S2580(at)S2653(all.)S2782(You)S2921(can)S2979 672(d)U540 750(s)U540 672(vary)U682(the)S787(details)S983(of)S1063(the)S1167(algorithm)S1446(used)S1591(by)S1681(tweaking)S1946(several)S2156(numeric)S2395(control)S2605(parameters)S2917(an)S566 750(electing)U795(different)S1043(types)S1204(of)S1281(operator)S1522(employed)S1803(by)S1891(the)S1993(algorithm.)S540 1158(T)U3 F72 Z540 978(3.)U642(Using)S842(the)S962(Genetic)S1222(Algorithm)S1566(Workbench)S1954(Program)S1 F66 Z580 1158(he)U666(following)S946(sections)S1182(describe)S1425(hardware)S1694(required)S1937(and)S2056(provide)S2281(instructions)S2612(for)S2712(starting)S2932(the)S540 1314(c)U540 1236(Workbench)U874(program.)S1163(The)S

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -