You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9d66175
Browse filesBrowse the repository at this point in the historyBrowse files
* Add clippy config with MSRV
* Allow float comparision with 0
We don't need to use an epsilon as the 0 values are always assigned directly
from a constant.
* Use &self method receiver where possible
The trait_template! macro does not support that, so I added explicit
ignores to clippy's warning.
* Custom bellman_fords output struct
The previous type was overly complex and not too intuitive.
* Address type complexity lints
In most cases I think the type is Ok as-is, so I added an ignore
* Address remaining clippy lints
The needless_range_loop in floid_warshall looks more intuitive using
the explicit range, hence I ignored the lint.
/// \[Generic\] [Floyd–Warshall algorithm](https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm) is an algorithm for all pairs shortest path problem
9
10
///
10
11
/// Compute shortest paths in a weighted graph with positive or negative edge weights (but with no negative cycles)
0 commit comments