-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Description
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.
Metadata
Metadata
Assignees
Labels
No labels