Bidirectional Search (graph theory)

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 3K views
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.