Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ top_show
Method
top_show
graphs/multi_heuristic_astar.py:50–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
heapq.heappush(self.elements, (prito, yyy))
49
50
def
top_show(self):
51
return
self.elements[0][1]
52
53
def
get(self):
54
(priority, item) = heapq.heappop(self.elements)
Callers
1
multi_a_star
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected