MCPcopy
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
35type Pair interface {
36 calcDistance() float64
37 toString() string
38}
39
40func makePair(A point, B point) *pair {
41 P := new(pair)

Callers 1

toStringMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected