Dima Pasechnik
Dima Pasechnik
@mkoeppe @vbraun @orlitzky @antonio-rojas
this existing, documented, etc etc thing is just too gross to be included in sage. It's hard to imagine something more un-pythonic.
> > this existing, documented, etc etc thing is just too gross to be included in sage. > > > > It's hard to imagine something more un-pythonic. > >...
I have explained already why this maths split doesn't fly. E.g. without a good 2/3rds of the rest of sagelib, neither sagemath-graphs nor sagemath-combinat are really functional.
large chunks of code in e.g. sagemath-graphs need number theory, numerical optimisation, linear algebra, designs from sagemath-combinat to function. it's pointless to say that "these are lazy-imported". It doesn't make...
> > If it turns out in the future that neither you nor other developers are interested in making parts of the combinatorial species functionality available when not all of...
some years ago there was a GSoC project which resulted in a cograph generator. https://github.com/MariannaSpyrakou/Cograph_generator perhaps we should add it to Sage?
for this PR, can you say what kind of distribution you get for these random cographs?
the usual bias to come from would be from.repititions (your recursion could lead to an isomorphic graph from different random choices). It would be good to have a cograph generator...
see https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/partition.html#sage.combinat.partition.Partitions_n.random_element_uniform for random partitions of `n` (uniform, and another natural measure, there, too)