Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
KTLA Study
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
KTLA Study
Commits
8b7093d0
Commit
8b7093d0
authored
Feb 15, 2022
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4fa0b3f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
allgraphs.py
allgraphs.py
+4
-0
No files found.
allgraphs.py
View file @
8b7093d0
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment