It turns out that generating regular graphs is apparently best done via
deg_seq parameter.
By the way, it is ugly, user-unfriendly, and hard to parse.
I'll make a ticket requesting it being changed to degree_sequence.
Or at least introducing an alias.
--
To post to this group, send an email to
On 10/13/11 11:10 PM, leif wrote:
On 13 Okt., 12:57, Jason Grout wrote:
On 10/13/11 3:05 AM, P Purkayastha wrote:
It seems to be a more general bug in the function *graphs()*. Even this
code fails to give any output:
def isc(g): return g.is_clique()
Genn = graphs(3, isc)
[_ for _ in Genn]
R
On 13 Okt., 12:57, Jason Grout wrote:
> On 10/13/11 3:05 AM, P Purkayastha wrote:
>
> > It seems to be a more general bug in the function *graphs()*. Even this
> > code fails to give any output:
> > def isc(g): return g.is_clique()
> > Genn = graphs(3, isc)
> > [_ for _ in Genn]
>
> Read the docum
On 10/13/11 3:05 AM, P Purkayastha wrote:
It seems to be a more general bug in the function *graphs()*. Even this
code fails to give any output:
def isc(g): return g.is_clique()
Genn = graphs(3, isc)
[_ for _ in Genn]
Read the documentation a little closer (or maybe the documentation needs
to
Property doesn't work quite like you think it might: the property
needs to possess certain inheritance features. (Frankly, I might have
named it "heritable_property" or something instead.)
http://trac.sagemath.org/sage_trac/ticket/6210
and
http://groups.google.com/group/sage-devel/browse_thread
It seems to be a more general bug in the function *graphs()*. Even this code
fails to give any output:
def isc(g): return g.is_clique()
Genn = graphs(3, isc)
[_ for _ in Genn]
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to