Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bd57be7

Browse files
authored
Made necessary changes for Bidirectional A* search
1 parent b8eaad0 commit bd57be7

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

‎README.md‎

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# A-Star-Search-Algorithm-Python-Implementation
2-
This is the A Star Search Algorithm Python Implementation.
1+
# Unidirectional-&-Bidirectional-A-Star-Search-Algorithm-Python-Implementation
32

4-
Important Details:
3+
This is the Unidirectional and Bidirectional A Star Search Algorithm Python Implementation.
54

6-
1. For the heuristic, Euclidean distance have been used to get an estimate from the given node to the goal node.
5+
Important Details (Unidirectional A star search Algorithm):
6+
7+
1. For the heuristic, Euclidean distance/octile have been used to get an estimate from the given node to the goal node.
78

89
2. In order to address the ties (nodes having the same F value in our (discovered) heap, then we prefer using that node whihc are closer to the goal node i.e. node having higher H value.)
910

@@ -12,3 +13,16 @@ Important Details:
1213
4. This particular implementation will only work for 2D maps.
1314

1415
5. In order to get more test cases, please refer to https://www.movingai.com/benchmarks/grids.html
16+
17+
Important Details (Bidirectional A star search Algorithm):
18+
19+
1. For the heuristic, Euclidean distance/octile have been used to get an estimate from the given node to the goal node.
20+
21+
2. The node selction policy that is being used here is : we select that frontier which offers us the node with minimum f-value.
22+
23+
3. If the source/target node happens to be such a node which is not walkable, then the algorithm will return an empty path with a total cost of 0.
24+
25+
4. This particular implementation will only work for 2D maps.
26+
27+
5. In order to get more test cases, please refer to https://www.movingai.com/benchmarks/grids.html
28+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /