astar icon indicating copy to clipboard operation
astar copied to clipboard

Add max-depth as parameter to search.

Open TyOverby opened this issue 8 years ago • 1 comments

TyOverby avatar Jan 25 '17 21:01 TyOverby

To clarify, I hope this can be done as a maximum cost, not just maximum depth of nodes traversed. I am using astar for pathing in a square grid with realistic distances, i.e. diagonals are sqrt(2) apart whereas direct adjacency is only 1 apart, and I'd like to have a way to limit the maximum distance traveled in a path

radix avatar Jan 26 '17 04:01 radix