File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/algorithms/controllers Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
// Copied and modified from dijkstra.js (might have been better to put
2
2
// common code in a single file - they are very similar and could be
3
- // made moreso ).
3
+ // made more-so ).
4
4
// If we add support for multiple end nodes elsewhere, we may need to
5
5
// check there is a single end node here
6
6
import GraphTracer from '../../components/DataStructures/Graph/GraphTracer' ;
Original file line number Diff line number Diff line change @@ -35,4 +35,7 @@ It might be a good idea to pass all the relevant variables all the time for
35
35
consistency. Basically, you should ideally be able to copy/paste code from
36
36
one chunker.add call to another without having to rename variables, etc.
37
37
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).
38
41
You can’t perform that action at this time.
0 commit comments