Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ empty
Method
empty
graphs/multi_heuristic_astar.py:20–21 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
18
return
float(
"inf"
)
19
20
def
empty(self):
21
return
len(self.elements) == 0
22
23
def
put(self, item, priority):
24
if
item not in self.set:
Callers
13
bidirectional_dij
Function · 0.95
minkey
Method · 0.95
calculate_fft
Function · 0.45
discrete_cosine_transform
Function · 0.45
build_tree
Function · 0.45
level_order
Function · 0.45
level_order_actual
Function · 0.45
dijkstra
Function · 0.45
bfs
Method · 0.45
breadth_first_search
Function · 0.45
encode
Method · 0.45
decode
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected