Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ add_inbound
Method
add_inbound
graphs/page_rank.py:24–25 ·
view source on GitHub ↗
(self, node)
Source
from the content-addressed store, hash-verified
22
self.outbound = []
23
24
def
add_inbound(self, node):
25
self.inbound.append(node)
26
27
def
add_outbound(self, node):
28
self.outbound.append(node)
Callers
1
main
Function · 0.80
Calls
1
append
Method · 0.45
Tested by
no test coverage detected