Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ empty
Method
empty
Graphs/multi_hueristic_astar.py:22–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
20
return
float(
'inf'
)
21
22
def
empty(self):
23
return
len(self.elements) == 0
24
25
def
put(self, item, priority):
26
if
item not in self.set:
Callers
1
minkey
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected