nd_loop.koat

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:03.0
disk size 621 Bytes
downloadable true
type
attribute value
name no_type
processor id 1
description this is the default benchmark type for rejected benchmarks and benchmarks that are not associated with a type.
owning community none
loading contents
(GOAL COMPLEXITY)
(STARTTERM (FUNCTIONSYMBOLS start0))
(VAR A B C D E)
(RULES
  start(A,B,C,D) -> Com_1(lbl51(E,B,0,D)) :|: A = B && C = D
  lbl51(A,B,C,D) -> Com_1(stop(A,B,C,D)) :|: C >= A && C >= 0 && 9 >= C
  lbl51(A,B,C,D) -> Com_1(stop(A,B,C,D)) :|: A >= C + 3 && C >= 0 && 9 >= C
  lbl51(A,B,C,D) -> Com_1(cut(A,B,C,D)) :|: A >= C + 1 && C + 2 >= A && 9 >= A && C >= 0 && 9 >= C
  lbl51(A,B,C,D) -> Com_1(stop(A,B,C,D)) :|: A >= 10 && A >= C + 1 && C + 2 >= A && C >= 0 && 9 >= C
  cut(A,B,C,D) -> Com_1(lbl51(E,B,A,D)) :|: C + 2 >= A && 9 >= A && C >= 0 && A >= C + 1
  start0(A,B,C,D) -> Com_1(start(B,B,D,D))
)
popout

content may be truncated. 'popout' for larger text window.

actions get anonymous link download benchmark