-
Notifications
You must be signed in to change notification settings - Fork 0
horomanJumpSearch #1
Comments
The code from Yonaba just expects a grid table with binary content. Therefore I will start with a new framework, but of course do a lot of glimpsing of and copy paste from the old one... [Edit] |
If we do it with the 'old' framework you loop through the map twice: First you create your grid, then you put it into the framework and the framework will loop through it again, to find the map's boundaries. This is not necessary. I'll write a new one, then I can do what pleasures me ;-). [Edit] |
Well, I started in a new file, but copy/pasted the Pathfinder framework. And: finally a first test on an empty filed worked. Strike! ;-). Hope it will work on other fields, espesially on ones with grain, too.... |
Sorry I haven't actively participated here yet, but my mind isn't ready yet for that whole complex thing. Especially writing new algorithms from scratch :) |
No problem. It's not that complex. Maybe we skype once. Ask, explain and discuss will be easier then. |
After some bug fixing the code now passed a first test. There may be unnecessary steps and allowDiagonal=false will not work (havn't thought about it yet), but it worked. |
The goal is to implement an algorithm, that solves a shortest path problem on a two dimensional discrete map
where each node belongs to a category and has some straight and diagonal crossing costs assigned which are grater or equal the Euclidean distance. The categories are prioritized and the algorithm does not care about the costs of a category as long as the costs of the higher priority categories are minimized.
The algorithm is thought to be used on grid maps with areas of nodes of the same category and costs.
It will be built on the so called Jump Point Search which itself has it seeds in the label correcting algorithm, in particular on the A*-algorithm.
Here I would like to make a list, what needs to be done until the algorithm works. So this first entry will change over time.
The text was updated successfully, but these errors were encountered: