Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ __eq__
Method
__eq__
graphs/greedy_best_first.py:86–87 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
84
return
self.f_cost < other.f_cost
85
86
def
__eq__(self, other) -> bool:
87
return
self.pos == other.pos
88
89
90
class
GreedyBestFirst:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected