File: blocks_01.lp

package info (click to toggle)
gringo 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,260 kB
  • ctags: 10,755
  • sloc: cpp: 55,049; python: 629; yacc: 569; sh: 124; makefile: 23
file content (27 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#program base_2.

init_above(2,1).
goal_below(2,1).

#program base_3.

init_above(3,2).
goal_below(3,1).

#program base_4.

init_above(4,2).
init_below(4,3).
goal_above(4,3).
goal_below(4,1).

#program base_5.

init_above(5,1).
init_below(5,3).
goal_above(5,2).

#program base_6.

init_above(6,1).
goal_below(6,3).