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

fewest turns #55

Open
goozo opened this issue Apr 24, 2017 · 1 comment
Open

fewest turns #55

goozo opened this issue Apr 24, 2017 · 1 comment

Comments

@goozo
Copy link

goozo commented Apr 24, 2017

is there a way to pass option which would set a penalty if the path changes directions in order to get a path with fewest turns? (I need to avoid the staircase effect)

@marcong95
Copy link

marcong95 commented Mar 6, 2018

I have similar requirement too, so I read the source code. But found nothing about it.
If you want to do the same thing, you can have a look on my forked version (marcong95/javascript-astar). I add some code on it referring to another project called JointJS. But do NOT use it directly for production use, I have not done any testing on it.

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

2 participants