|
Size: 9914
Comment:
|
Size: 9935
Comment: no xrange
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 33: | Line 33: |
| print docs[0:doc_ex_loc].replace('\n ','\n') | print(docs[0:doc_ex_loc].replace('\n ','\n')) |
| Line 38: | Line 38: |
| print "Invalid arguments, using default" | print("Invalid arguments, using default") |
| Line 55: | Line 55: |
| print graph | print(graph) |
| Line 57: | Line 57: |
| print "n = %s (number of vertices)"%n | print("n = %s (number of vertices)" % n) |
| Line 61: | Line 61: |
| print "n reduced to 8" | print("n reduced to 8") |
| Line 63: | Line 63: |
| print "n = %s (dimension)"%n | print("n = %s (dimension)" % n) |
| Line 66: | Line 66: |
| print "n = %s (number of vertices)"%n print "p = %s%% (edge probability)"%p G = graphs.RandomGNP(n, p/100.0) print G.automorphism_group() |
print("n = %s (number of vertices)" % n) print("p = %s%% (edge probability)" % p) G = graphs.RandomGNP(n, p / 100.0) print(G.automorphism_group()) |
| Line 199: | Line 199: |
| while len(vs)>1: for j in xrange(1,len(vs)): |
while len(vs) > 1: for j in range(1, len(vs)): |
Sage Interactions - Graph Theory
goto interact main page
Contents
Graph Browser
by Marshall Hampton
Automorphism Groups of some Graphs
by William Stein:
View an induced subgraph
by Jason Grout
Animations of Graph Minors
by Pablo Angulo
