Skip to content

Commit

Permalink
Even more cleanup for Dijkstra and A*
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Dec 17, 2023
1 parent 777d3ed commit 2c20e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/graph/algorithms/a_star_search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class _State<V> implements Comparable<_State<V>> {
this.parent,
this.value = 0,
this.total = 0,
this.estimate = double.infinity,
required this.estimate,
});

final V vertex;
Expand Down

0 comments on commit 2c20e86

Please sign in to comment.