Lab Assignment #1
|
![]() |
![]() |
Initial
configuration |
Solved puzzle |
The last two lines contain the numbers associated to
columns (first line) and rows (second line) separated by
blank spaces.
The following shows the input format for the initial
configuration above:
..t... .t.... t....t ...... ....t. t...t. 1 2 0 1 1 2 2 1 0 2 0 2 |
python3 encode.py dom01.txt
domain.lp |
clingo 0 tents.lp domain.lp |
python3 decode.py tents.lp
domain.lp |
.xtx.. .t...x t....t x...x. ....t. tx..tx |
unzip pics.zip python3 display.py tents.lp domain.lp drawtents.lp |
The maximum grade for this exercise is 25
points = 25% of the course. The deadline for
delivery is Friday,
November 15th, Monday, Nobemver 25th, 2024
using the MOODLE assignment in each
University. Exercises can be made by groups of 2 students
at most. If so, only one student is required to deliver
the files in moodle, but all source files must contain the
names of the two group members.
Delivery: upload all files in a .zip including a
README.txt with the student names and any additional
comment you consider relevant.