-
-
Notifications
You must be signed in to change notification settings - Fork 656
Implemented a generator for Möbius ladder graph #38084
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
Conversation
Documentation preview for this PR (built with commit bef114a; changes) is ready! 🎉 |
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.
LGTM but you should add that this graph is also the circulant graph graphs.CirculantGraph(2 * n, [1, n])
.
In the following line at line number 1164 it will be great if Could you please mention how to do that? |
Also, is it fine if we itemize the EXAMPLES with bullets since there are two of them? That is, instead of
and
we may have the following:
and
respectively. |
No, we don't need bullets here. See how the documentation looks like. |
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.
LGTM.
Could you please let me know why Build & Test / test-long (src/sage/[g-o]*) (pull_request) is failing and how to rerun it? |
an unexpected error when running |
sagemathgh-38084: Implemented a generator for Möbius ladder graph <!-- ^ Please provide a concise and informative title. --> This PR adds a generator for Möbius ladder 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. --> This PR introduces a new static method, specifically `MoebiusLadderGraph`, that considers a non negative integer *n* as the input and returns the Möbius ladder graph of order *2n*. This also includes the required documentation concerning the same. <!-- v Why is this change required? What problem does it solve? --> It adds a new feature, that is $-$ a generator for Möbius ladder graph. <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Fixes sagemath#38083. ### 📝 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. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> Nothing as of now (up to my knowledge). <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> cc: @dcoudert . URL: sagemath#38084 Reported by: Janmenjaya Panda Reviewer(s): David Coudert, Janmenjaya Panda
sagemathgh-38084: Implemented a generator for Möbius ladder graph <!-- ^ Please provide a concise and informative title. --> This PR adds a generator for Möbius ladder 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. --> This PR introduces a new static method, specifically `MoebiusLadderGraph`, that considers a non negative integer *n* as the input and returns the Möbius ladder graph of order *2n*. This also includes the required documentation concerning the same. <!-- v Why is this change required? What problem does it solve? --> It adds a new feature, that is $-$ a generator for Möbius ladder graph. <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Fixes sagemath#38083. ### 📝 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. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> Nothing as of now (up to my knowledge). <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> cc: @dcoudert . URL: sagemath#38084 Reported by: Janmenjaya Panda Reviewer(s): David Coudert, Janmenjaya Panda
sagemathgh-38084: Implemented a generator for Möbius ladder graph <!-- ^ Please provide a concise and informative title. --> This PR adds a generator for Möbius ladder 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. --> This PR introduces a new static method, specifically `MoebiusLadderGraph`, that considers a non negative integer *n* as the input and returns the Möbius ladder graph of order *2n*. This also includes the required documentation concerning the same. <!-- v Why is this change required? What problem does it solve? --> It adds a new feature, that is $-$ a generator for Möbius ladder graph. <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Fixes sagemath#38083. ### 📝 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. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> Nothing as of now (up to my knowledge). <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> cc: @dcoudert . URL: sagemath#38084 Reported by: Janmenjaya Panda Reviewer(s): David Coudert, Janmenjaya Panda
This PR adds a generator for Möbius ladder graph.
This PR introduces a new static method, specifically
MoebiusLadderGraph
, that considers a non negative integer n as the input and returns the Möbius ladder graph of order 2n. This also includes the required documentation concerning the same.It adds a new feature, that is$-$ a generator for Möbius ladder graph.
Fixes #38083.
📝 Checklist
⌛ Dependencies
Nothing as of now (up to my knowledge).
cc: @dcoudert .