| 1 | initial version |
First, there are time limits on calculations on sagenb.org which you may be running into. Have you tried running it on a computer that you can run long-running calculations on?
Second, I simplified your code quite a bit. I use the actual automorphism group as an item in the tuple, since apparently the calls to gap may be part of the problem, from the discussion above:
import collections
lglist=collections.Counter()
lglist.clear()
for k in range(4,15):
for g in graphs.nauty_geng(str(k) + "-C -d3 -D3"):
if g.vertex_connectivity()>=3:
lglist[(k, g.vertex_connectivity(), g.automorphism_group())]+=1
for item in lglist.items():
print item
| 2 | No.2 Revision |
First, there are time limits on calculations on sagenb.org which you may be running into. Have you tried running it on a computer that you can run long-running calculations on?
Second, I simplified your code quite a bit. I use the actual automorphism group as an item in the tuple, since apparently the calls to gap may be part of the problem, from the discussion above:
import collections
lglist=collections.Counter()
lglist.clear()
for k in range(4,15):
for g in graphs.nauty_geng(str(k) + "-C -d3 -D3"):
if g.vertex_connectivity()>=3:
lglist[(k, g.vertex_connectivity(), g.automorphism_group())]+=1
for item in lglist.items():
print item
html.table(lglist.items())
| 3 | No.3 Revision |
First, there are time limits on calculations on sagenb.org which you may be running into. Have you tried running it on a computer that you can run long-running calculations on?
Second, I simplified your code quite a bit. I use the actual automorphism group as an item in the tuple, since apparently the calls to gap may be part of the problem, from the discussion above:
import collections
lglist=collections.Counter()
lglist.clear()
for k in range(4,15):
for g in graphs.nauty_geng(str(k) + "-C -d3 -D3"):
if g.vertex_connectivity()>=3:
lglist[(k, g.vertex_connectivity(), g.automorphism_group())]+=1
html.table(lglist.items())
for k,v in lglist.items():
print v,k
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.