summaryrefslogtreecommitdiff
path: root/test/levenshtein-1-2-3f.c.ppl
blob: 9e5b069c713b14d23e3ec7ad0e69bc2465fa4c60 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
! Generated from levenshtein-1-2-3f.cloog by CLooG  64 bits in 0.67s.
S1(i = 0,j = 0)
S2(i = 1,j = 0)
S3(i = 1,j = 1)
DO i=2, N
  S2(j = 0)
  DO j=1, i-1
    S6
  END DO
  S3(j = i)
END DO
i = N+1
S7(j = 0)
DO j=1, N
  S6
  S8
END DO
DO i=N+2, 2*M-N-2
  DO j=CEILING(REAL(i-N-2)/REAL(2)), FLOOR(REAL(i-N-1)/REAL(2))
    S7
  END DO
  DO j=CEILING(REAL(i-N+1)/REAL(2)), FLOOR(REAL(i+N-1)/REAL(2))
    S6
    S8
  END DO
  IF (MOD(i+N, 2) == 0) THEN
    j = (i+N)/2
    S4
    S8
  END IF
  IF (MOD(i+N, 2) == 0) THEN
    j = (i-N)/2
    S5
    S8
  END IF
END DO
DO i=2*M-N-1, 2*M-2
  DO j=i-M+1, M-1
    S6
  END DO
END DO