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

Remove degree-zero vertices from steiner_tree output #82

Merged
merged 5 commits into from
May 28, 2024

Conversation

emstoudenmire
Copy link
Contributor

This PR fixes #80 by removing any vertices of degree zero from the NamedGraph output by the function steiner_tree. It also adds a test of this new behavior. (The graph already used in the previous test resulting in many degree-zero vertices so was already a good test case.)

src/steiner_tree.jl Outdated Show resolved Hide resolved
src/steiner_tree.jl Outdated Show resolved Hide resolved
test/test_namedgraph.jl Outdated Show resolved Hide resolved
@mtfishman mtfishman merged commit a8535ec into main May 28, 2024
8 of 9 checks passed
@mtfishman mtfishman deleted the steiner_tree_zero_verts branch May 28, 2024 22:57
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.

[BUG] Possible bug in steiner_tree
2 participants