Skip to content

Commit 49f0dad

Browse files
committed
On track to proceed with Linda's changes
1 parent 477a2ad commit 49f0dad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/algorithms/controllers/AStar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copied and modified from dijkstra.js (might have been better to put
22
// common code in a single file - they are very similar and could be
3-
// made moreso).
3+
// made more-so).
44
// If we add support for multiple end nodes elsewhere, we may need to
55
// check there is a single end node here
66
import GraphTracer from '../../components/DataStructures/Graph/GraphTracer';

src/algorithms/controllers/README_graph_search

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,7 @@ It might be a good idea to pass all the relevant variables all the time for
3535
consistency. Basically, you should ideally be able to copy/paste code from
3636
one chunker.add call to another without having to rename variables, etc.
3737

38+
dijkstra.js has been moved in the right direction wrt the points above
39+
and AStar.js is a copied and edited version (might have been better to
40+
generalise some code and use a file with common code).
3841

0 commit comments

Comments
 (0)