mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Fixes in Bidirectional A* (#2020)
* implement bidirectional astar * add type hints * add wikipedia url * format with black * changes from review * fix collision check * Add testmod() * # doctest: +NORMALIZE_WHITESPACE * Codespell: euclidean * Codespell: coordinates * Codespell: traversal * Codespell: remaining Co-authored-by: John Law <johnlaw.po@gmail.com> Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@ -17,7 +17,7 @@ class Cell(object):
|
||||
"""
|
||||
Class cell represents a cell in the world which have the property
|
||||
position : The position of the represented by tupleof x and y
|
||||
co-ordinates initially set to (0,0)
|
||||
coordinates initially set to (0,0)
|
||||
parent : This contains the parent cell object which we visited
|
||||
before arrinving this cell
|
||||
g,h,f : The parameters for constructing the heuristic function
|
||||
|
Reference in New Issue
Block a user