Bidirectional Search (graph theory)

Click For Summary
In the discussion on bidirectional search in graph theory, the focus is on determining the shortest path through a specific node, M, which lies on both paths from the origin O and destination D. Participants agree that under certain assumptions about the search algorithm, particularly one that does not overlook nodes with smaller costs, M must be part of the shortest path. The challenge lies in proving this assertion and addressing the associated cost implications. The conclusion drawn is that the absence of shorter paths through M appears to be a straightforward observation. Overall, the discussion emphasizes the importance of algorithm assumptions in validating the shortest path criteria.
Huumah
Messages
27
Reaction score
0
media%2F585%2F585c0a50-3b0a-47a1-af1c-c68212817d4a%2Fphpvh5u4r.png
Attempt at solution
This is an old exam question. Am I correct to say the shortest path goes through M since M is in d(O,M) and d(D,M)?
I don't know how to prove this and answer the question about the cost
 
Physics news on Phys.org
With some assumption about the search algorithm (i. e. one that does not miss nodes with smaller costs - check this), you are right.
The fact that there are no shorter paths looks trivial then.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K