You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try this:
Place walls around the goal expect one diagonal block and start a search (e.g. JPS). It won't find a solution, but there is one.
I think it has something to do with your getneighbours method which is far to complicated.
You try to avoid things like issue #17 but in fact you should let your user decide if you want this edge cutting or not.
Also you should clean up your GetNeighbours method which you can easily implement with two for-loops. Give it a try.
The text was updated successfully, but these errors were encountered:
Hi @punkkeks #63 is mostly done apart from polishing the docs. But the code is not yet released in a new version (I don't have the access to release to npmjs yet :( ) so you'll have to use the code from the repo. Read the user guide for more information.
Try this:
Place walls around the goal expect one diagonal block and start a search (e.g. JPS). It won't find a solution, but there is one.
I think it has something to do with your getneighbours method which is far to complicated.
You try to avoid things like issue #17 but in fact you should let your user decide if you want this edge cutting or not.
Also you should clean up your GetNeighbours method which you can easily implement with two for-loops. Give it a try.
The text was updated successfully, but these errors were encountered: