aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/sol1.txt15
-rwxr-xr-xexamples/sol2.txt11
-rwxr-xr-xexamples/sol3.txt14
3 files changed, 40 insertions, 0 deletions
diff --git a/examples/sol1.txt b/examples/sol1.txt
new file mode 100755
index 0000000..2f58ef1
--- /dev/null
+++ b/examples/sol1.txt
@@ -0,0 +1,15 @@
1clingo version 4.4.0
2Reading from rubik.lp
3Solving...
4Answer: 1
5move(0,pitch,0,-1) move(1,roll,1,-1) move(2,yaw,0,-1) move(3,pitch,1,-1) move(4,yaw,1,-1) move(5,roll,1,-1) move(6,pitch,0,-1) move(7,yaw,0,-1) move(8,pitch,0,1) move(9,roll,1,-1) move(10,pitch,0,-1) is(0,0,red,white,green) is(0,1,white,green,orange) is(0,2,orange,white,blue) is(0,3,green,red,yellow) is(0,4,blue,orange,yellow) is(0,5,white,red,blue) is(0,6,blue,yellow,red) is(0,7,yellow,green,orange) solved(10)
6Answer: 2
7move(0,pitch,0,-1) move(1,roll,1,-1) move(2,yaw,0,-1) move(3,pitch,1,-1) move(4,yaw,1,-1) move(5,roll,1,-1) move(6,pitch,0,-1) move(7,yaw,0,-1) move(8,pitch,0,1) move(9,roll,1,-1) move(10,pitch,0,1) is(0,0,red,white,green) is(0,1,white,green,orange) is(0,2,orange,white,blue) is(0,3,green,red,yellow) is(0,4,blue,orange,yellow) is(0,5,white,red,blue) is(0,6,blue,yellow,red) is(0,7,yellow,green,orange) solved(10)
8Answer: 3
9move(0,pitch,0,-1) move(1,roll,1,-1) move(2,yaw,0,-1) move(3,pitch,1,-1) move(4,yaw,1,-1) move(5,roll,1,-1) move(6,pitch,0,-1) move(7,yaw,0,-1) move(8,pitch,0,1) move(9,roll,1,-1) move(10,roll,0,1) is(0,0,red,white,green) is(0,1,white,green,orange) is(0,2,orange,white,blue) is(0,3,green,red,yellow) is(0,4,blue,orange,yellow) is(0,5,white,red,blue) is(0,6,blue,yellow,red) is(0,7,yellow,green,orange) solved(10)
10SATISFIABLE
11
12Models : 3+
13Calls : 1
14Time : 765.674s (Solving: 765.45s 1st Model: 765.44s Unsat: 0.00s)
15CPU Time : 766.460s
diff --git a/examples/sol2.txt b/examples/sol2.txt
new file mode 100755
index 0000000..92374be
--- /dev/null
+++ b/examples/sol2.txt
@@ -0,0 +1,11 @@
1clingo version 4.4.0
2Reading from rubik.lp
3Solving...
4Answer: 1
5move(0,pitch,0,-1) move(1,roll,1,-1) move(2,roll,1,-1) move(3,pitch,0,-1) move(4,roll,1,-1) move(5,yaw,0,1) move(6,pitch,1,-1) move(7,pitch,1,-1) move(8,roll,1,-1) move(9,yaw,1,-1) move(10,pitch,0,1) move(11,yaw,1,-1) move(12,roll,0,1) is(0,0,yellow,green,orange) is(0,1,blue,white,orange) is(0,2,yellow,orange,blue) is(0,3,blue,yellow,red) is(0,4,green,orange,white) is(0,5,red,blue,white) is(0,6,green,red,yellow) is(0,7,red,white,green) solved(12)
6SATISFIABLE
7
8Models : 1+
9Calls : 1
10Time : 566.654s (Solving: 566.65s 1st Model: 566.64s Unsat: 0.00s)
11CPU Time : 572.460s
diff --git a/examples/sol3.txt b/examples/sol3.txt
new file mode 100755
index 0000000..cd3ec66
--- /dev/null
+++ b/examples/sol3.txt
@@ -0,0 +1,14 @@
1clingo version 4.4.0
2Reading from rubik.lp
3Solving...
4Answer: 1
5move(0,yaw,0,-1) move(1,yaw,0,-1) move(2,pitch,0,1) move(3,roll,1,-1) move(4,yaw,0,-1) move(5,yaw,0,-1) move(6,pitch,1,-1) move(7,yaw,1,1) move(8,roll,1,-1) is(0,0,orange,yellow,green) is(0,1,white,green,orange) is(0,2,orange,white,blue) is(0,3,red,blue,yellow) is(0,4,white,blue,red) is(0,5,blue,yellow,orange) is(0,6,green,white,red) is(0,7,yellow,red,green) solved(8)
6Optimization: 8
7OPTIMUM FOUND
8
9Models : 1
10 Optimum : yes
11Optimization : 8
12Calls : 1
13Time : 9935.368s (Solving: 9935.09s 1st Model: 9935.09s Unsat: 0.00s)
14CPU Time : 9949.430s