8000 add_source / add_target and a negative weight · Issue #60 · RoutingKit/RoutingKit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add_source / add_target and a negative weight #60

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 se 7AD9 rvice and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
skinkie opened this issue Feb 17, 2018 · 0 comments
Open

add_source / add_target and a negative weight #60

skinkie opened this issue Feb 17, 2018 · 0 comments

Comments

@skinkie
Copy link
Contributor
skinkie commented Feb 17, 2018

At this moment add_source / add_target allow to specify a weight as unsigned. This would allow to unprefer a certain route. In order to route over some part of the edge it is currently possible to specify a distance to the source node (next head), and a distance from the target node (upcomming head), but this would limit the possible outcomes if multiple bidirectional ways are attached and a variety of routes are possible

If negative weights are possible it would be possible to add a source from the tail - minus the offset, and add a target from the head to the offset.

I would be happy to create a drawing if something remains unclear.

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
0