This commit is contained in:
itamar 2026-03-20 18:36:12 +00:00
parent e09e88e69c
commit 5b2218f039
Signed by: itamar
GPG key ID: C494AC33A201F9E4
2 changed files with 0 additions and 251 deletions

View file

@ -67,7 +67,6 @@ func edgeDensity*(g: Graph): float =
return E / (V * (V-1))
else:
return 2*E / (V * (V-1))
func adjacencyMatrix*(g: Graph): matrix[int] =
##Returns the V x V adjacency matrix for g.
##This may be different from the internal adjacency matrix if g.capacity > g.V.