Skip to content

Commit 3c30bce

Browse files
committed
Modified Astar code
1 parent ff23c98 commit 3c30bce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Graphs/Astar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ function createGraph(V, E) {
7777
return [] // Return empty path if there's no path to the target
7878
}
7979

80-
export { createGraph, aStar }
81-
80+
module.exports = { createGraph, aStar }
81+
8282
// const V = 9
8383
// const E = [
8484
// [0, 1, 4],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy