speedpldi4.koat

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:03.0
disk size 891 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 evalspeedpldi4start))
(VAR A B)
(RULES
  evalspeedpldi4start(A,B) -> Com_1(evalspeedpldi4entryin(A,B))
  evalspeedpldi4entryin(A,B) -> Com_1(evalspeedpldi4returnin(A,B)) :|: 0 >= A
  evalspeedpldi4entryin(A,B) -> Com_1(evalspeedpldi4returnin(A,B)) :|: A >= B
  evalspeedpldi4entryin(A,B) -> Com_1(evalspeedpldi4bb5in(A,B)) :|: A >= 1 && B >= A + 1
  evalspeedpldi4bb5in(A,B) -> Com_1(evalspeedpldi4bb2in(A,B)) :|: B >= 1
  evalspeedpldi4bb5in(A,B) -> Com_1(evalspeedpldi4returnin(A,B)) :|: 0 >= B
  evalspeedpldi4bb2in(A,B) -> Com_1(evalspeedpldi4bb3in(A,B)) :|: A >= B + 1
  evalspeedpldi4bb2in(A,B) -> Com_1(evalspeedpldi4bb4in(A,B)) :|: B >= A
  evalspeedpldi4bb3in(A,B) -> Com_1(evalspeedpldi4bb5in(A,B - 1))
  evalspeedpldi4bb4in(A,B) -> Com_1(evalspeedpldi4bb5in(A,B - A))
  evalspeedpldi4returnin(A,B) -> Com_1(evalspeedpldi4stop(A,B))
)
popout

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

actions get anonymous link download benchmark