connected graphs
How to list all the nonishomorphic connected graphs with 9 vertices?
How to list all the nonishomorphic connected graphs with 9 vertices?
Following the link given by @kcrisman you learn about nauty_geng
.
sage: gen = graphs.nauty_geng("9 -c")
sage: sum(1 for g in gen)
261080
You may find this link helpful. Though perhaps connectedness isn't heritable, so be warned:
Remember that the property argument does not behave as a filter, except for appropriately inheritable properties:
Still, on that page you should find a syntax that helps you.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2016-07-13 18:46:18 +0100
Seen: 673 times
Last updated: Jul 14 '16