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
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)
The text was updated successfully, but these errors were encountered:
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.
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)
The text was updated successfully, but these errors were encountered: