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

ManyToMany with Turn Penalty #373

Open
YangYang1208 opened this issue Feb 9, 2024 · 0 comments
Open

ManyToMany with Turn Penalty #373

YangYang1208 opened this issue Feb 9, 2024 · 0 comments

Comments

@YangYang1208
Copy link

Is there a way to do ManyToMany routing that includes turn penalties? I've explored all matrix algorithms, yet not a single one seems to accept turn penalties as an input.

I've also looked into the sample code and issues #307 and #313. However, when I try to run the following sample code on my own routerDb (which is contracted), I get the "Value cannot be null. Parameter name: nodeBasedGraph" error.

route = router.Calculate(car, locations, turnPenalty: 120, preferredDirections: null);

Any pointers would be very appreciated.

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

1 participant