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:
|>-- ^>-v vvv| |||| 3 2 1 1 1 3 2 1 |
python3 encode.py dom01.txt
domain.lp |
clingo 0 thermo.lp domain.lp |
python3 decode.py thermo.lp
domain.lp |
.x.. xx.x x.x. x... |
unzip pics.zip python3 display.py thermo.lp domain.lp drawthermo.lp |
The maximum grade for this exercise is 15
points = 15% of the course. The deadline for
delivery is Monday, November
3rd, 2025 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.