MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / SetParent

Method SetParent

project_euler/problem_18/edge.go:98–100  ·  view source on GitHub ↗
(node Node)

Source from the content-addressed store, hash-verified

96}
97
98func (n *Edge) SetParent(node Node) {
99 n.Parent = node
100}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected