Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/arnauddri/algorithms
/ Pair
Interface
Pair
algorithms/maths/closest-pair/closest_pair.go:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
type
Pair
interface
{
36
calcDistance() float64
37
toString() string
38
}
39
40
func
makePair(A point, B point) *pair {
41
P := new(pair)
Callers
1
toString
Method · 0.65
Calls
no outgoing calls
Tested by
no test coverage detected