Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/arnauddri/algorithms
/ EdgesCount
Method
EdgesCount
data-structures/graph/graph.go:171–173 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
169
}
170
171
func
(g *graph) EdgesCount() int {
172
return
g.edgesCount
173
}
174
175
func
(g *graph) GetEdge(from, to VertexId) int {
176
return
g.edges[from][to]
Callers
1
TestUndirectedGraph
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestUndirectedGraph
Function · 0.64