On Sun, Jun 18, 2023 at 10:16 AM Emmanuel Briand
<
emmanue...@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?