Pat,

Thanks so much for pointing out this workaround.

I think I can specify that I only want connected graphs as parameter
to graphs() to reduce the overhead of list().
Or, I'll just make copies of the ones I need to change and add them to
a collection.

>
> Replacing this with
>
> for G in list(graphs(3)):
>
> seems to work.  But I think this generates all of the graphs in advance.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to