Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ More
Method
More
graph/dijkstra.go:17–20 ·
view source on GitHub ↗
(b any)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
(a Item) More(b any) bool {
18
// reverse direction for minheap
19
return
a.dist < b.(Item).dist
20
}
21
func
(a Item) Idx() int {
22
return
a.node
23
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected