Ask Your Question
0

Generalized Sierpinski graph method not working

asked 2 years ago

vidyarthi gravatar image

I just saw the ticket here, which proposes to give the Generalized Sierpinski Graph. I also saw that it is committed in the GitHub repository. But, when I write graphs.GeneralizedSierpinskiGraph on the Jupyter notebook on CoCalc, it is not working and returning the error:graphs has no attribute called GeneralizedSierpinskiGraph. In addition, when saw the source code on the GitHub page, and when I copied and pasted it on my notebook, again the error is object of type'int' has no 'len()', which is referring to the line len(next(H.vertex_iterator())).

How do we modify this error? And will the method GeneralizedSierpinskiGraph work on Cocalc?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 2 years ago

tmonteil gravatar image

updated 2 years ago

The reason is that this ticket is not merged in Sage (it is not even reviewed yet), so the function does not appear in production.

If you want to provide some feedback on the code, do not hesitate to create a trac account and discuss on the ticket that needs review.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2 years ago

Seen: 632 times

Last updated: May 30 '22