Commit 8b7093d0 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4fa0b3f6
...@@ -51,6 +51,10 @@ def genGraphs(N): ...@@ -51,6 +51,10 @@ def genGraphs(N):
# induction: the graph remains connected if previous (N-1) graph is # induction: the graph remains connected if previous (N-1) graph is
# connected, and n is connected to at least one node in the previous graph. # connected, and n is connected to at least one node in the previous graph.
#
# FIXME wrong: (N-1) graph might be not connected and if n is adding
# connection to enough nodes N-graph might become connected. Below
# approach thus skips some possible connected graphs.
Sedges = set() Sedges = set()
# for all combinations to which nodes n is connected in the previous graph. # for all combinations to which nodes n is connected in the previous graph.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment