Confusion in search algorithms used in CBS-TA code #37
-
Hi, After reading the paper for CBS-TA, I had the understanding that CBS-TA uses A* search for low-level search (while resolving conflicts) (i.e. during execution of CBS part). But on going through the code, it seems that CBS-TA uses Dijkstra's algorithm for both the 1st assignment, and all subsequent assignments. Please let me know if I am missing something. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Dijkstra is A* with a heuristic h(x)=0. |
Beta Was this translation helpful? Give feedback.
For the Hungarian method, I use the min-cost max-flow formulation, which is more efficient in practice (but has the same complexity in the worst case). I simply call https://www.boost.org/doc/libs/1_78_0/libs/graph/doc/successive_shortest_path_nonnegative_weights.html, which internally seems to use dijkstra, according to your last screenshot. I am not familiar with the exact implementation details of boost, so I can't comment on why they use it that way. However, it is important that this Dijkstra call here is just an implementation detail.