-
-
Notifications
You must be signed in to change notification settings - Fork 594
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 parameter immutable to generators in sage/graphs/digraph_generators.py
(part 2)
#39266
add parameter immutable to generators in sage/graphs/digraph_generators.py
(part 2)
#39266
Conversation
Documentation preview for this PR (built with commit c08051e; changes) is ready! 🎉 |
I don't think the error reported in https://github.com/sagemath/sage/actions/runs/12984647749/job/36207939071?pr=39266#step:10:5598 is related to this PR. May be the error is due to the declaration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feu vert
sagemathgh-39266: add parameter immutable to generators in `sage/graphs/digraph_generators.py` (part 2) Following sagemath#39264, we add parameter immutable to `DeBruijn`, `GeneralizedDeBruijn`, `Kautz` and `ImaseItoh`. We also add parameter `name` to `GeneralizedDeBruijn` and `ImaseItoh` to ease calls from `DeBruijn` and `Kautz`. This PR is motivated by discussions in sagemath#39177. ### 📝 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 <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39266 Reported by: David Coudert Reviewer(s): David Coudert, Frédéric Chapoton
sagemathgh-39269: add parameter immutable to generators in `sage/graphs/digraph_generators.py` (part 3) Following sagemath#39264 and sagemath#39266, we add parameter immutable to the remaining digraph generators. This PR is motivated by discussions in sagemath#39177. ### 📝 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 <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39269 Reported by: David Coudert Reviewer(s): David Coudert, Frédéric Chapoton
sagemathgh-39269: add parameter immutable to generators in `sage/graphs/digraph_generators.py` (part 3) Following sagemath#39264 and sagemath#39266, we add parameter immutable to the remaining digraph generators. This PR is motivated by discussions in sagemath#39177. ### 📝 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 <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39269 Reported by: David Coudert Reviewer(s): David Coudert, Frédéric Chapoton
sagemathgh-39269: add parameter immutable to generators in `sage/graphs/digraph_generators.py` (part 3) Following sagemath#39264 and sagemath#39266, we add parameter immutable to the remaining digraph generators. This PR is motivated by discussions in sagemath#39177. ### 📝 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 <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39269 Reported by: David Coudert Reviewer(s): David Coudert, Frédéric Chapoton
sagemathgh-39269: add parameter immutable to generators in `sage/graphs/digraph_generators.py` (part 3) Following sagemath#39264 and sagemath#39266, we add parameter immutable to the remaining digraph generators. This PR is motivated by discussions in sagemath#39177. ### 📝 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 <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39269 Reported by: David Coudert Reviewer(s): David Coudert, Frédéric Chapoton
sagemathgh-39269: add parameter immutable to generators in `sage/graphs/digraph_generators.py` (part 3) Following sagemath#39264 and sagemath#39266, we add parameter immutable to the remaining digraph generators. This PR is motivated by discussions in sagemath#39177. ### 📝 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 <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39269 Reported by: David Coudert Reviewer(s): David Coudert, Frédéric Chapoton
Following #39264, we add parameter immutable to
DeBruijn
,GeneralizedDeBruijn
,Kautz
andImaseItoh
.We also add parameter
name
toGeneralizedDeBruijn
andImaseItoh
to ease calls fromDeBruijn
andKautz
.This PR is motivated by discussions in #39177.
📝 Checklist
⌛ Dependencies