1 # CLooG example file #4.
2 # Please read the first example which is fully documented to understand the
3 # different parts of this input file.
5 ################################################################################
6 # The problem here is to scan a single non-rectangular polyhedron. #
12 # m-+-****---+-j<=m | for (i=2;i<=n;i++) { #
13 # | ***** | | for (j=2;j<=min(m,-i+n+2);j++) { #
14 # | ****** | ==> S1 ; #
16 # 2-+-********-j>=2 | } #
18 # 0-+-+------+--->i | #
23 # System : 2<=i<=n | #
27 ################################################################################
32 # 2. Parameters {n,m | n>=2 m>=2}
33 2 4 # 2 rows ans 4 columns
38 # 3. We set manually the parameter name: m, n
42 # 4. Number of polyhedra:
45 # 5. The polyhedron description:
47 # {i, j | 2<=i<=n 2<=j<=m n+2-i-j>=0}
48 5 6 # 5 rows and 6 columns
54 1 -1 -1 0 1 2 # j<=n+2-i
57 # 6. We set manually the iterator names: i, j
61 # 7. Let CLoog scan the polyhedron in the way it wants.