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

Why its not working with negative weights ? #11

Open
berktaylan opened this issue Apr 18, 2022 · 0 comments
Open

Why its not working with negative weights ? #11

berktaylan opened this issue Apr 18, 2022 · 0 comments

Comments

@berktaylan
Copy link

`g.addEdge(new jsgraphs.Edge(0,1,1));
g.addEdge(new jsgraphs.Edge(1,0,-1));

g.addEdge(new jsgraphs.Edge(1,2,1));
g.addEdge(new jsgraphs.Edge(2,1,-1));

g.addEdge(new jsgraphs.Edge(2,3,1));
g.addEdge(new jsgraphs.Edge(3,2,-1));

g.addEdge(new jsgraphs.Edge(3,1,1));
g.addEdge(new jsgraphs.Edge(1,3,-1));`

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