Skip to content

Commit

Permalink
Modified Astar code
Browse files Browse the repository at this point in the history
  • Loading branch information
mathangpeddi committed Oct 20, 2024
1 parent ff23c98 commit 3c30bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Graphs/Astar.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ function createGraph(V, E) {
return [] // Return empty path if there's no path to the target
}

export { createGraph, aStar }
module.exports = { createGraph, aStar }

// const V = 9
// const E = [
// [0, 1, 4],
Expand Down

0 comments on commit 3c30bce

Please sign in to comment.