From 354235b6519757940b22914c46cf9c311481d216 Mon Sep 17 00:00:00 2001 From: sondaydungso <82167090+sondaydungso@users.noreply.github.com> Date: Sat, 29 Mar 2025 17:06:17 +1100 Subject: [PATCH 1/2] fix --- __pycache__/astar.cpython-312.pyc | Bin 3501 -> 3463 bytes __pycache__/cus2.cpython-312.pyc | Bin 0 -> 5652 bytes __pycache__/search_selector.cpython-312.pyc | Bin 1351 -> 1469 bytes astar.py | 40 +++++---- cus2.py | 91 +++++++++++--------- search_selector.py | 4 +- 6 files changed, 79 insertions(+), 56 deletions(-) create mode 100644 __pycache__/cus2.cpython-312.pyc diff --git a/__pycache__/astar.cpython-312.pyc b/__pycache__/astar.cpython-312.pyc index cefd0138fccd6846dc49452d1c7aa5f4f23868de..3dfd4efa6c76e3eb607dda6cc28b5d8fb1ba5df9 100644 GIT binary patch delta 1498 zcmah}T})e596#rNwD;29+X8KA#~h=KkB*JNBxaIrad8Mt#m#LRm%&YKFSlh~+ueHs zhvx?z76*jD`Z3WFf_GCpS9g|EVAq*nmA#sFY37K<1x zGXcjW)IAy?Fj#+zSR?iv7-_9)aTb=CkRwFi$0ht2h8_8K4&;Y%FN2{IFEgF^39|`{ zc$IAxnwoRmy3n|V9o$>|hWDkP*@siy2?%BUDc=SC_-npL3KCBS$pOrQZ2>nphGGH2 z#8`6eA6f(DfBBH)c^8;)Ux1i}Dz->bahQY_8;2IB0gE@EdO*xMaK{m2G!SD(e56tb z!aYKu10u%)aY#>*$p<(hwj56#I!$Lq2C#<-oaT`eaR?%)!7*;%3MEH`o?VG`&t-;9KDV*Ss9T>EK|2x2vYNURuQ#S;Kl!As*F{hRUe^-`kltIY3$m^XqXIi5j5g z#u!+h(bQj1gu|Z+-_7WBkU!C77>KUGpd_5uVtbs!xl8fh-Gw@AT@33x0Gbu7Bg8jt)!BMX>(L- z#uk(5q?wGS6ykj{X(UZGZp-ORTs0K+ooqB6Cp=VaXKX^(i5r{CM$Lp?OT!6iHK`@u z&ggnQWnF1?N~y*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|l6zInixl>j}*!j~1j%QY8d z7W}AfaJg0C{?{YytszT8K<$+h^0K%bDk9P6e;+JS_y5x}s#3Sg2}LGzs=02&QUf>1l8rttTKSU7p~NQBeSl?o&_NS2 rT-MrQZUVYUJCFFc2^_~CVTMOo>7TIuUz0afcx&vyKcHmCvl{;m%ma^$ literal 0 HcmV?d00001 diff --git a/__pycache__/search_selector.cpython-312.pyc b/__pycache__/search_selector.cpython-312.pyc index 7a9bae64fdce1c6bd128de480eca2aa4beb73df3..ab4299487a10aa14f49cd81ff397cdedc81e0696 100644 GIT binary patch delta 431 zcmX@kwU?XkG%qg~0}xnuK2PUlnaC%>7&1}aR3(KWg*AsGmoti!k%5W9ogsy-g&~D~ zH4{iF149&7C5I;G#1a*8O~zZoPMIm0MXAXpnfZB%Il-xkMadZxXG~-~Fj81~#FOOhT-ljGvj| zOo&d9CO=K?$>&(KV{Wk|mlhipvBS(Mk^r&b7X0F{$<0qG%}KQ@k^@SB0-;y|NPJ*s fWMsU{APh#LcNxU*GN^oKl3?^?{KNnv!6pCzFPmIY delta 311 zcmdnXeVmK$G%qg~0}yDmJWrp>Jdsa=(PN^zsRR>)J3|U<3quOqY9^30149%?CA%ia z#0Hg#yC*U(nC#2gs!+lSkzxQUtznoAR6Lh?H6ui Date: Sat, 29 Mar 2025 17:08:54 +1100 Subject: [PATCH 2/2] Update astar.py --- astar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astar.py b/astar.py index 7db8d5c..c4710da 100644 --- a/astar.py +++ b/astar.py @@ -103,4 +103,5 @@ def search(self, start, goals): entry_id += 1 # No path found - return None, nodes_expanded, [] \ No newline at end of file + return None, nodes_expanded, [] + #fixed \ No newline at end of file