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

Graph utility methods #162

Merged
merged 7 commits into from
Jan 8, 2024
Merged

Conversation

ImogenBits
Copy link
Collaborator

Currently some common graph operations like normalizing the edges in an undirected graph to go in both directions or checking if an edge or path is in a graph are pretty annoying due to the way we encode graphs. This PR just adds some utility methods to help with that.

@ImogenBits ImogenBits mentioned this pull request Jan 8, 2024
@Benezivas
Copy link
Collaborator

Thank you, these basic and very common operations should prove to be useful. I would however not plan to extend these much further, as at some point it makes more sense to utilize a proper graph library in a problem file.

@Benezivas Benezivas merged commit 0d15f5d into Algorithmic-Battle:main Jan 8, 2024
2 checks passed
@ImogenBits ImogenBits deleted the graph_util branch January 9, 2024 21:54
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

Successfully merging this pull request may close these issues.

2 participants