-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
List all path between vertices #82
Comments
I'll add it to the list of algorithms to implement. |
I was just looking for something like this. I can lay out my issue, maybe there is an alternate route. I have a directed acyclical graph. Let's say it has nodes A,B,C,D,E,F and part of the current edge list is A->B->C->D I want to add D->A, which causes a cycle. The graph catches, it, which is good. The only reason C->D is because some algorithm I used determined that D satisfies some C dependency. But, it turns out that F also does. So I could remove C->D, add in C->F, and now D->A will not cause a cycle. That part is somewhat easy, and Essentially, I am looking for: give me all of the paths that A depends on D, so I can recalculate them and then be able to add D->A. If there is a better way to do this, I am very much up for it. |
Yeah, I think that would do it. I haven't looked at the implementation, but the concept works. Although |
@deitch That's right, maybe |
I have a need to list all the path available to traverse between any 2 given vertices. Does this exist? Thoughts on how to implement it?
The text was updated successfully, but these errors were encountered: