ex011.koat

loading
details
attribute value
description
owner Akihisa Yamada
uploaded 2020-06-20 22:53:19.0
disk size 360 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 l0))
(VAR A B C)
(RULES
  l0(A,B,C,D) -> Com_1(l1(A,B,C,D))
  l1(A,B,C,D) -> Com_1(l1(A,B,C + D,D - 1)) :|: D > 0
  l1(A,B,C,D) -> Com_1(l2(A,B,C,D)) :|: D <= 0
  l2(A,B,C,D) -> Com_1(l3(C,C,C,D)) :|: C > 0
  l3(A,B,C,D) -> Com_1(l3(A + B,B - 1,C,D)) :|: A > 0
  l3(A,B,C,D) -> Com_1(l2(A,B,C - 1,D)) :|: A <= 0
)
popout

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

actions get anonymous link download benchmark