MCPcopy 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_dijFunction · 0.95
minkeyMethod · 0.95
calculate_fftFunction · 0.45
build_treeFunction · 0.45
level_orderFunction · 0.45
level_order_actualFunction · 0.45
dijkstraFunction · 0.45
bfsMethod · 0.45
breadth_first_searchFunction · 0.45
encodeMethod · 0.45
decodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected