2019-07 É­Ćµ¬Ą¥Ő²É­µ¹×µĝŁÏįőÉ­Ćµ¬Ą
¥Ő²íÊvō

1. įőŇ±1¡¨?8, 1¥Ő²1sBĨ+28"C

2. ¥Ő²2 ĤĒB£:+ł, 9 clP>8
įőŇ±Ä0¥Ő²1clPØBăİ+ ġn2qœÜ/®¡2ÿ(0ù+'

3. Īč2Īč÷Ē0ĭ+' ¥Ő²0ĭ+;Ôñ@8"C

4. ¥Ő² Īč²2>Ō!0 7+Ö+'

12019-07 É­Ćµ¬Ą¥Ő²2

2019-07 É­Ćµ¬Ą¥Ő²

CS

xp1¥0č< ºĽĈ;ÞŔ¥Řŕ&
 ℝ" = $%'( )&, ' ∈ ℝ, 0*+  f: ℝ" → ℝ"  B&344
f 1%'(2 = %3"434" &3"" ( %' (- ? , 344 , 34" , 3"4 , 3"" ∈ ℝ,? 8& 
121
1f 1% (2 = % ( , f 1% (2 = % (0−3
11- ? ŔŘŕ 344 , 34" , 3"4 , 3"" 1Bë:< &&Ŕřŕ f 1%'(2 = : %'( , & ≠ 0, ' ≠ 0Bï& λB+ë:< Ŕ¥řŕ4ŉØf(x) = 4@"A 0*+ è1¥0č< ŔŘŕ f(x)1ºŉØf′(x)-Č  èºŉØf′′(x)B$@%@ë:< Ŕřŕ f(x)BdIjlhk½Ň&-1 x1èØ  èxp1ōBë:< 32019-07 É­Ćµ¬Ą¥Ő²  Ŕ¥Řŕ JgaÕĔ0ŉ+xp1¥0č< ¨Ř0ąËúStartŔóËú</ėĳr=@+?Ý

8ŕ0ğ?ėĳBô<ÕĔ?Ûì0*+Ĝ?

ėĳ1ć02¨s0ą@+?MQ[?;1JgaÕĔ,2ĸ¿@=ÕĔ?

0ŕ= GoalŔóBĚ>ĶÕĔ$@%@1?

7ėĳo1óËB Open List (OL)0Ò,0ÕĔ&óËB Closed List (CL)0ÒmÛ/mÀÕĔ&óË?-BŊ 8& ŀć1ĩ1óËŔBPŕBÒ Goal 0&.>ā&Ý0]XI[gXI0<)+$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ĉMQ[D(E)B (E, D(E)) -+Ĥ+?
xp1  0? OL, CL 1¸Bĭ"(à) OL={(0,0)}, CL={}
Step1: OL={(1,50), (3,200)} CL={0}
Step2: OL={(4,100), (2,150), (3,200)} CL={1, 0}
Step3: OL=CL={4, 1, 0}

Step4: OL=

CL=

Step5: OL={(6,250), (5,350), (7,600)} CL={3, 2, 4, 1, 0}
Step6: OL={(7,300), (5,350), (7,600)} CL={6, 3, 2, 4, 1, 0}
Step7: OL=

CL=

Step8:CL=

OL=

Step9: OL 1ŏĖċóË/1,Nli0ľ-¶ŔŜŕ ªmMQ[ßĠÕĔ0<)+ßĿĪBë:?-,?

È!;ŒĹ/ÕĔÛì,2/ mÛ ÕĔs1óË s 8,1ĕĉMQ[D(E)0 $1óË=N
li8,1MQ[1uîŔ_flhQYFIQŕℎG (E)B&Nli8,1y1ĕĉMQ[HI(E)B ßĠÕĔ1hQ[1Tl[Ý0÷?-, <>ŒĹ/ÕĔ·õ,?-Ă=@+? @B A*OlW-¤C,? ŔªmMQ[ßĠÕĔ2ℎG (E) = 0-ě& A*OlW1òéKlQ-Īń,? ŕ/ A*OlW,2 ßĿĪ1ÕĔBĮxp1ŔÁŘŕ0ąãzBï&øBđð0ıÜ"</?&:0 _flhQYFIQℎG (E)2

Èħ? /#1ãzÈħ-/?1 öℎ ∗ (E)2óË s =Nli0ğ?Ā1ĕĉß»MQ[BĤHI(E) = D(E) + ℎG (E), ℎG (E) ≤ ℎ ∗ (E)---- (Á 1)62019-07 É­Ćµ¬Ą¥Ő²Ŕ¥řŕ wÕĔá0ŉ+xp1¥0č< ĻĘhQ[Bü½"&ZlUåĺ1m*0 wÕĔá? wÕĔá-2wáBÑÂ&;1,{Ê1ďx0*+¾łá0£8@?ħē2ďx<>;» łá0£8@?ħē2ďx<>;°-òÇBÒ* wÕĔá2pĭ1EiNhRe0<)+åĐ,?
EiNhReû/? n 1ZlUBm*!*ö+wÕĔáBåĐ ?EiNhRe ß1ZlUBä0Ńě ?
 è1ZlUBä1ZlU-êĴ ä<>;»@3¾łá ä<>;°@3łá6ļ9
 ļC'ďĢ1®¡ $1ďĢ1ZlU<>;»@3¾łá °
@3łá6ļ9 ļC'ďĢ1ň Ě>Ķ
ļC'ď,;Ģ,;/@3 $0ZlUBýņ+0Î?
n +1ZlUBýņ&=Ėt ?
~3 3 2 5 1 4 7 6 - 7 ZlU01EiNhReBĿ÷ ?- pĭ1</wÕĔáåĐ@?

ŔŘŕ 6 2 5 3 7 1 4 - 7 *1ZlU0oĭ1EiNhReBĿ÷+åĐ@?wÕĔáB¨ą"<Ŕřŕ wÕĔá2 ĻĘhQ[0<?wÕĔBô ?&:1ZlUåĺ-Ó?-,? oĭ1EiNhRe0Å)+ üĨ&ZlUBä=ĵ?-wÕĔ·õ,? ¢ZlUSX[BĤõ ?wÕĔá2ĦØ´©? 1ť7 1 7 *1ÙØ=/?ZlUSX[BĤõ ?wÕĔá1( ĬĎŅß»0/?;1-ß°0/?
;1B$@%@¨ą"< 8& $@%@1ĬĎŅ1GlVlBpĭ1ŁÐĞ=ŁC,§č"<ŁÐĞŝ O(1)O(n2)

O(log n)O(n2 log n)O(n)O((log n)2)O(n log n)O((n log n)2)

O(n3)

7

2019-07 É­Ćµ¬Ą¥Ő²  Ŕ¥Řŕxp1¥0č< / (X)n 2 n ļØ1Ø X BĤ - ?
ŔŘŕ xp1ØB 16 `X[, 2 ļØ1 1 1ĥØ <4 2 1ĥØ,Ĥõ"<şŕ(-32765)10

Šŕ(-8190)10Ŕřŕ xp1ØB 10 ļØ,Ĥõ"<şŕ(0.D)16

Šŕ(11002)3Ŕ¥řŕ

3 `X[Ď¦Ŕ¨Řŕ- 3 `X[[gkQaDlLl[Ŕ¨řŕB÷+¨Ś1§ĳBåÍ&ŔŘŕ ¨Ś1§ĳ1ĀöĤB|Í"< ĀöĤ02 (X1, X0)B 2 `X[1 2 ļØ-Ó&ŋ1 (X1, X0)B 10 ļØĤĭ& X- (Y3, Y2, Y1, Y0)B 4 `X[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