sage: list(graphs(4,lambda y: y.is_regular()))
[Graph on 4 vertices]

Where are the other regular graphs on 4 vertices gone? Cf.

sage: filter(lambda y: y.is_regular(), graphs(4))
[Graph on 4 vertices, Graph on 4 vertices, Graph on 4 vertices, Graph on 4 
vertices]

(the value 4 is not special, same for 3, 5, etc...)

Thanks,
Dima

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to