Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ add_outbound
Method
add_outbound
graphs/page_rank.py:27–28 ·
view source on GitHub ↗
(self, node)
Source
from the content-addressed store, hash-verified
25
self.inbound.append(node)
26
27
def
add_outbound(self, node):
28
self.outbound.append(node)
29
30
def
__repr__(self):
31
return
f
"<node={self.name} inbound={self.inbound} outbound={self.outbound}>"
Callers
1
main
Function · 0.80
Calls
1
append
Method · 0.45
Tested by
no test coverage detected