Skip to content

Conversation

@janmenjayap
Copy link
Contributor

@janmenjayap janmenjayap commented Mar 9, 2025

The objective of this PR is to overwrite the methods pertaining to connectivity in a matching covered graph.

More specifically, this PR aims to overwrite the following methods:

  • is_biconnected() | Check whether the (matching covered) graph is biconnected.

Fixes #38216.
Please note that this issue fixes a small part of the mentioned issue.

📝 Checklist

  • The title is concise and informative.
  • 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 and checked the documentation preview.

⌛ Dependencies

Nothing as of now.

cc: @dcoudert.

@github-actions
Copy link

github-actions bot commented Mar 9, 2025

Documentation preview for this PR (built with commit 177e7d5; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@dcoudert
Copy link
Contributor

dcoudert commented Mar 9, 2025

If this PR is only for is_biconnected, which is certainly enough, you could change the title of the PR to better reflect the content, like "add method is_biconnected to matching covered graph".

@janmenjayap
Copy link
Contributor Author

HI,
There are some other small (and kind of more or less not so complicated) methods related to connectivity, that are to be overwritten, for instance is_connected(), is_path(), is_tree() etc. We may incorporate all of those small and simple methods in this PR.

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

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

LGTM.

@dcoudert
Copy link
Contributor

I think other methods could be done in future PRs.

@janmenjayap
Copy link
Contributor Author

Thank you.

vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 27, 2025
sagemathgh-39657: Overwrote methods concerning connectivity in a matching covered graph
    
<!-- ^ Please provide a concise and informative title. -->
The objective of this PR is to overwrite the methods pertaining to
connectivity in a matching covered graph.

<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
More specifically, this PR aims to overwrite the following methods:
- [x]  `is_biconnected()` | Check whether the (matching covered) graph
is biconnected.
- [ ]  `is_connected()` | Check whether the (matching covered) graph is
connected.

### 📌 Todo
- [ ] Add the list of other relevant methods to overwrite (so that the
computation time is asymptotically shorter).

<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->
Fixes sagemath#38216.
Please note that this issue fixes a small part of the mentioned issue.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

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

### ⌛ Dependencies
Nothing as of now.

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

cc: @dcoudert.
    
URL: sagemath#39657
Reported by: Janmenjaya Panda
Reviewer(s): David Coudert
@vbraun vbraun merged commit 306734c into sagemath:develop Jul 6, 2025
22 of 25 checks passed
@janmenjayap janmenjayap changed the title Overwrote methods concerning connectivity in a matching covered graph Overwrote the method is_biconnected() for MatchingCoveredGraph Jul 18, 2025
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.

On Decompositions, Generation Methods and related concepts in the theory of Matching Covered Graphs

3 participants