How to find the graphs having exactly one perfect matching from the following collection? [closed]

asked 2022-07-04 08:11:53 +0200

anonymous user

Anonymous

for g in graphs.nauty_geng('7 -c'): if g.size()==9: A=g.adjacency_matrix() k=A.determinant() show(k) g.show()

Here I am trying to obtain those graphs which have a unique perfect matching, that is, those graphs which have exactly one perfect matching.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Max Alekseyev
close date 2022-07-05 06:39:34.376412