Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AI Progamming Exercises
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Michael Mutote
AI Progamming Exercises
Commits
fb775d99
Commit
fb775d99
authored
1 year ago
by
Michael Mutote
Browse files
Options
Downloads
Patches
Plain Diff
22202956
touch ups
parent
8b066718
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.idea/misc.xml
+3
-0
3 additions, 0 deletions
.idea/misc.xml
Breath-First Search/solution testing.py
+1
-1
1 addition, 1 deletion
Breath-First Search/solution testing.py
with
4 additions
and
1 deletion
.idea/misc.xml
+
3
−
0
View file @
fb775d99
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"Black"
>
<option
name=
"sdkName"
value=
"Python 3.11"
/>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.11"
project-jdk-type=
"Python SDK"
/>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Breath-First Search/solution testing.py
+
1
−
1
View file @
fb775d99
...
...
@@ -36,7 +36,7 @@ board = ((False, False, False, False, False, False, False, False, False),
sln
=
(
breadth_first_search
.
BreadthFirstSearch
(
board
,
Sucessors
.
queens_successor
,
is_goal
.
is_goal_queens
)[
-
1
])
output_tuple
=
tuple
(
tuple
(
"
Q
"
if
value
else
"
-
"
for
value
in
sln
)
for
sln
in
sln
)
output_tuple
=
tuple
(
tuple
(
"
Q
"
if
value
else
"
.
"
for
value
in
sln
)
for
sln
in
sln
)
for
rows
in
output_tuple
:
print
(
rows
)
...
...
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