On Sun, Jun 18, 2023 at 9:09 AM Vincent Delecroix
<20100.delecr...@gmail.com> wrote:
>
> sage: G1.spanning_trees_count(root_vertex=0)
> 27202601182632270746156805986464038912000
> sage: G2.spanning_trees_count(root_vertex=6)
> 27202601182632270746156805986464038912000

indeed, and for all other vertices I get
40803901773948406119235208979696058368000

so this is OK on my machine, at least.

>
> On Sun, 18 Jun 2023 at 09:49, Georgi Guninski <ggunin...@gmail.com> wrote:
> >
> > On Sun, Jun 18, 2023 at 10:16 AM Emmanuel Briand
> > <emmanuel.bri...@gmail.com> wrote:
> > >
> > > Have you taken into account the following?
> > >
> > > ignature:      G1.spanning_trees_count(root_vertex=None)
> > > Docstring:
> > >    Return the number of spanning trees in a graph.
> > >
> > >    In the case of a digraph, counts the number of spanning out-trees
> > >    rooted in "root_vertex".  Default is to set first vertex as root.
> > >
> > >
> >
> > Thanks, I should have RTFM.
> >
> > This still doesn't work for me:
> >
> > sage: 
> > G1.spanning_trees_count(root_vertex=None),G2.spanning_trees_count(root_ver
> > ....: tex=None)
> > (27202601182632270746156805986464038912000,
> >  40803901773948406119235208979696058368000)
> >
> >
> > Is it rigorous to set c1=G1.spanning_trees_count()
> > and then do:
> >
> > sage: c1=G1.spanning_trees_count()
> > sage: for i in range(G1.order()):
> > ....:     c2=G2.spanning_trees_count(i)
> > ....:     if c2==c1:  print(i)
> > ....:
> > 6
> >
> > I expect for isomorphic multi digraphs the loop to find equal c1,c2?
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to sage-devel+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/CAGUWgD_Zkf7g2py2PxWkYA4PqBOW6Ws%2BW31JtsQF2nmO6JE9tg%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/CAGEwAAntJP%3DXemn%2BAmnYt6BfRfq8GujWQYZSpAjPyA81oOHxEw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1xeemQ8LQyz5NTXQfSCGj5NRiyK1K1hpo6j7yWpny8%2BQ%40mail.gmail.com.

Reply via email to