Robert Bradshaw wrote:
If it's a question of splitting it up into files, this can already be
done, and in a much simpler way.
cdef class Graph:
from clique import max_clique
now if max_clique is a function, then this code will make it an ordinary
method as if it were defined here.
Well, it's probably more proper to say:
now if max_clique is a function *that takes the graph as the first
parameter*, then this code will make it an ordinary method as if it were
defined here.
Thanks,
Jason
--
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