File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ function checkWeight(weight: number): void {
38
38
*
39
39
* Adapted from https://medium.com/@adriennetjohnson/a-walkthrough-of-dijkstras-algorithm-in-javascript-e94b74192026
40
40
* This has been made much faster by treating nodes as an index rather than a string (name). We use `tinyqueue`
41
- * as our priority queue. All map-likes have been eliminated, but there are still object references. So this is
42
- * not as fast as possible, but it should be plenty fast and not too heavy on memory.
41
+ * as our priority queue. All map-likes have been eliminated. Should be plenty fast and not too heavy on memory.
43
42
*/
44
43
export class DijkstraShortestPathSolver implements INodeBag {
45
44
private readonly startNodeChecker = new NodeIndexChecker ( this , "startNode" ) ;
You can’t perform that action at this time.
0 commit comments