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

Add method to check whether a (di)graph is geodetic #36571

Merged
merged 4 commits into from
Nov 5, 2023

Conversation

dcoudert
Copy link
Contributor

A (di)graph is geodetic if there exists only one shortest path between any pair of its vertices. We add a method to check this property on unweighted (di)graphs.

πŸ“ Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

βŒ› Dependencies

Copy link

github-actions bot commented Nov 1, 2023

Documentation preview for this PR (built with commit 2a623b5; changes) is ready! πŸŽ‰

Copy link
Collaborator

@kwankyu kwankyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. LGTM.

vbraun pushed a commit to vbraun/sage that referenced this pull request Nov 2, 2023
    
A (di)graph is geodetic if there exists only one shortest path between
any pair of its vertices. We add a method to check this property on
unweighted (di)graphs.

### πŸ“ Checklist

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### βŒ› Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36571
Reported by: David Coudert
Reviewer(s): David Coudert, Kwankyu Lee
@dcoudert
Copy link
Contributor Author

dcoudert commented Nov 2, 2023

Thank you.

@vbraun vbraun merged commit f53e808 into sagemath:develop Nov 5, 2023
21 of 22 checks passed
@mkoeppe mkoeppe added this to the sage-10.2 milestone Nov 5, 2023
@kwankyu
Copy link
Collaborator

kwankyu commented Nov 28, 2023

You may want to include your contributions on graph theory in the next release tour

https://github.com/sagemath/sage/wiki/Sage-10.2-Release-Tour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants