Week 4 Graded Assignment
Template for Clingo Work
Problem 1
Input
Program
Command
Line
Output
of clingo
1
This study source was downloaded by 100000884024057 from CourseHero.com on 11-30-2024 04:12:51 GMT -06:00
https://www.coursehero.com/file/141997216/CSE579-Graded-Assignment-Week-4-templatedocx/
, Problem 2
Input
Program
Command You should write 10 command lines below, one for each value of n from the set {3, …, 12}.
Line
Output Since there are 10 outputs for 10 different values of n, please do not copy and paste the
of clingo outputs of clingo for Problem 2 (and also for Problem 8 later).
Answer Draw a table that lists the number of solutions and the times to compute all solutions. Use
to Questions CPU time that clingo returns.
Value n Number of solutions time
3
4
5
6
7
8
9
10
11
12
2
This study source was downloaded by 100000884024057 from CourseHero.com on 11-30-2024 04:12:51 GMT -06:00
https://www.coursehero.com/file/141997216/CSE579-Graded-Assignment-Week-4-templatedocx/