-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Graphs: a few distance-regular graphs #30240
Comments
comment:2
Hello, can you move the file Also, what's the added value of using python instead of python here ? Do you have any plan for further improvements ? I'm not against python here, I just want to understand the motivation. The patchbot reports an issue with gap during the construction |
comment:4
Replying to @dcoudert:
Sure!
I'm using Cython mainly to speed things up a bit. I have quite a lot of graphs that will end up here, but I thought that many small tickets are better than a huge one.
Should be fixed now. (Also rebased branch on 9.2.beta6) |
comment:5
I fully agree that small tickets are better ;) A few comments:
-Dabase of distance regular graphs
+Database of distance regular graphs
- This is a distance-regular graph with intersecion array
+ This is a distance-regular graph with intersection array
- for j in range(i+1,100):
+ for j in range(i + 1, 100): - sC2 = frozenset(cocliques[j])
- edges.append( (sC,sC2) )
+ edges.append((sC, rozenset(cocliques[j]))) - G = Graph(edges,format="list_of_edges")
+ G = Graph(edges, format="list_of_edges") - H = libgap.AtlasGroup("3^2.U4(3).D8",libgap.NrMovedPoints,756)
+ H = libgap.AtlasGroup("3^2.U4(3).D8", libgap.NrMovedPoints, 756) - G = Graph(libgap.Orbit(N,[1,9],libgap.OnSets), format='list_of_edges')
+ G = Graph(libgap.Orbit(N, [1, 9], libgap.OnSets), format='list_of_edges')
- def has_edge(u,v):
- com = 0
- for i in range(6):
- com += u[i].conjugate() * v[i]
-
- if com == 2:
- return True
- return False
+ def has_edge(u, v):
+ return sum(u[i].conjugate() * v[i] for i in range(6)) == 2
|
Reviewer: David Coudert |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Replying to @dcoudert:
Unless my editor is wrong, there are only 2 lines that reach (and don't exceed) column 80 (line 40 and 243).
There are only 100 cocliques, so to iterate over the list I use
Personally I find the rhs more confusing as I read it as |
comment:8
I'm not insisting for the may be you can do:
similarly
I agree it's minor changes. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
The name of the graph function Probably Also the docstring for this graph should be improved; it says
but this is not unique such a graph, as it's 3-fold quotient is also amply regular Please also add |
comment:29
I can do it. You would need to wait until my update to sage 9.2.beta7 is complete, though |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:31
unfortunately my (perhaps wrong) tests indicate that #30277 is broken. Some pyx modules are not discovered and built in, somehow |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:33
I found a bug because the module |
comment:34
|
comment:35
It seems that |
comment:36
Replying to @sagetrac-git:
it is less clutter to write there simply
|
comment:37
Replying to @dimpase:
I get the following:
Maybe we have different versions of GAP installed?
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:39
Replying to @Ivo-Maffei:
right, sorry, I got the error because I didn't have |
comment:40
test, please ignore. |
comment:41
Replying to @dimpase:
Just to be sure, only the tests for Is there a way to check what optional packages are really needed without having another sage installation? |
comment:42
|
comment:43
Just tag all the tests using AtlasGroup with |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:46
LGTM |
Changed branch from u/gh-Ivo-Maffei/drg_sporadic1 to |
Implemented a few distance-regular graphs for a database of such graphs.
Depends on #30277
CC: @dimpase
Component: graph theory
Keywords: distance_regular_graph drg
Author: Ivo Maffei
Branch/Commit:
574960d
Reviewer: David Coudert, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/30240
The text was updated successfully, but these errors were encountered: