Closed dcoudert closed 9 years ago
Branch: public/18530
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
59fcce0 | trac #18530: Cycle Graph |
91fb0b6 | trac #18530: Complete Graph |
7c07d50 | trac #18530: Diamond Graph |
080d428 | trac #18530: House Graph |
c581ca0 | trac #18530: House X Graph |
6b437af | trac #18530: Star Graph |
55a5cbb | trac #18530: Path Graph |
842658d | trac #18530: Complete Bipartite Graph |
deec0b6 | trac #18530: Circular Ladder Graph |
0e52730 | trac #18530: Grid 2d Graph |
Commit: 0e52730
I did some of them. I don't know if we need to do all of them yet ;)
Hi,
Trac ticket #18530
-> :trac:`18530`
Branch pushed to git repo; I updated commit sha1. New commits:
8ead714 | trac #18530: review |
Right.
does not pass all tests :(
The order of the vertices changed in Grid2dGraph
.
Thanks to Nathann, I have solve all the problems.
I have not changed all the methods and there is room for further cleaning, but it's a beginning.
Helloooooooooo !
I added a commit at public/18530 (since you chose to make the branch public).
Most of the changes I made are superficial:
add_edge
on an iterator, so it can only be slowerI also fixed a bug with ladder_graph, which was incorrect (plot it, you will see).
Most importantly, if you have never looked at paths, now is the time:
sage: graphs.PathGraph(3).show()
sage: graphs.PathGraph(30).show()
sage: graphs.PathGraph(100).show()
Run those three commands. You will be surprised :-P
Nathann
Thanks for the corrections.
I had to update some doctests since you changed from Path Graph
to Path graph
. I had also to update the test on spring_layout
in generic_graph.py
line 15174.
And yes, the layout of the path is pretty cool ;)
Branch pushed to git repo; I updated commit sha1. New commits:
347e681 | trac #18530: update doc tests in generic_graph.py |
Hmmmmmm O_o
Actually I did not mean to make that change (I just copy/pasted the first of your two lines) but it seems that all other graphs has a 'graph' and not a 'Graph', so I guess that's fine O_o
Nathnn
(and sorry for the broken doctests)
You are welcome ;)
Wellll, then....
Reviewer: Nathann Cohen
Thanks.
Changed branch from public/18530 to 347e681
Avoid calling networkx and then converting to sage graphs for generating very simple graphs (Bull graph, Claw Graph, etc.)
CC: @nathanncohen
Component: graph theory
Author: David Coudert
Branch/Commit:
347e681
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/18530