Commit 2024-07-27 14:22 933a4976
View on Github →feat(Combinatorics/SimpleGraph): define edist
and rewrite dist
(#14582)
Define edist
as the extended distance between two vertices of a simple graph, belonging to ENat
, and rewrite dist
as the coercion of edist
to Nat
using toNat
. Rewrite the API to meet these new definitions.