Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/arnauddri/algorithms
/ Order
Method
Order
data-structures/graph/graph.go:167–169 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
165
}
166
167
func
(g *graph) Order() int {
168
return
len(g.edges)
169
}
170
171
func
(g *graph) EdgesCount() int {
172
return
g.edgesCount
Callers
2
TestUndirectedGraph
Function · 0.80
Scc
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestUndirectedGraph
Function · 0.64