Implemented methods concerning removability in a matching covered graph #39433
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The objective of this issue is to implement the methods pertaining to removability in a matching covered graph.
More specifically, this PR aims to implement the following methods:
is_removable_edge()
| Check whether the edge is removable.is_removable_doubleton()
| Check whether the pair of edges constitute a removable doubleton.is_removable_ear()
| Check whether the ear is removable.is_removable_double_ear()
| Check whether the pair of ears form a removable double ear.removable_edges()
| Return a :class:~EdgesView
of removable edges.removable_doubletons()
| Return a list of removable doubletons.removable_ears()
| Return a list of removable ears.removable_double_ears()
| Return a list of removable double ears.This PR shall address the methods related to removable edges, removable ears, removable doubletons and removable double ears of matching covered graphs.
Fixes #38216.
Note that this issue fixes a small part of the mentioned issue.
📝 Checklist
⌛ Dependencies
This PR depends on the PR #38742.
cc: @dcoudert .