what is the meaning of "priority blocks empty" in dijkstra.cpp

asked 2017-09-18 23:04:55 -0500

I am using a dijkstra algorithm in my globalplanner,I set the start_x , start_y = (9.5,9.5) and end_x,end_y = (19.5,19.5) ,then I put a Lethal_Obstacles in (15,15),finally,it failed to get a plan,and currentEnd_ and nextEnd_ are both zero.help me!

I have got a plan when there is not lethal_obstacles

edit retag flag offensive close merge delete

Comments

Do you have a link to the source that you're referring to?

jayess gravatar imagejayess ( 2017-09-19 00:13:24 -0500 )edit

yes,here it is. dijkstra.cpp

when I called the function calculatePotentials,it gone to line 134 and return false to me

pengjiawei gravatar imagepengjiawei ( 2017-09-19 01:03:14 -0500 )edit