Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagonal Issue #21

Closed
hellow554 opened this issue Feb 4, 2013 · 3 comments
Closed

Diagonal Issue #21

hellow554 opened this issue Feb 4, 2013 · 3 comments

Comments

@hellow554
Copy link

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.

@qiao
Copy link
Owner

qiao commented Feb 4, 2013

The edge cutting option implemented in #17 has no effect on the JPS finder. I should have this noted in the readme.

I'll try to clean up the getNeighbors method :)

@imor
Copy link
Collaborator

imor commented Nov 4, 2014

Will be fixed once #63 is done

@imor
Copy link
Collaborator

imor commented Dec 22, 2014

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.

@hellow554 hellow554 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants