Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Steiner Triples and Sat Solvers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lucy Anne Patton
Steiner Triples and Sat Solvers
Commits
032dbe4f
Commit
032dbe4f
authored
4 years ago
by
Lucy Anne Patton
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
8901a5e6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+8
-0
8 additions, 0 deletions
main.py
with
8 additions
and
0 deletions
main.py
0 → 100644
+
8
−
0
View file @
032dbe4f
from
ChessBoard
import
ChessBoardRepresentation
from
generateSteiner
import
generateSteinerTripleSystem
if
__name__
==
"
__main__
"
:
print
(
"
Hello! Please enter order of NS1D0 sequence (odd integer > 5):
"
)
n
=
int
(
input
())
chess
=
ChessBoardRepresentation
(
n
)
steiner
=
generateSteinerTripleSystem
(
chess
.
ns1d0
)
print
(
"
Your STS of order
"
+
str
(
n
*
3
)
+
"
is:
\n
"
+
str
(
steiner
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment