/export/starexec/sandbox/solver/bin/starexec_run_its /export/starexec/sandbox/benchmark/theBenchmark.koat /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?,O(n^2)) Preprocessing Cost Relations ===================================== #### Computed strongly connected components 0. recursive : [eval_realselect_bb2_in/6,eval_realselect_bb3_in/6] 1. recursive : [eval_realselect_19/10,eval_realselect_20/10,eval_realselect_27/10,eval_realselect_28/10,eval_realselect_bb1_in/10,eval_realselect_bb2_in_loop_cont/11,eval_realselect_bb4_in/10] 2. non_recursive : [eval_realselect_stop/6] 3. non_recursive : [eval_realselect_bb5_in/6] 4. non_recursive : [exit_location/1] 5. non_recursive : [eval_realselect_bb1_in_loop_cont/7] 6. non_recursive : [eval_realselect_6/6] 7. non_recursive : [eval_realselect_5/6] 8. non_recursive : [eval_realselect_4/6] 9. non_recursive : [eval_realselect_3/6] 10. non_recursive : [eval_realselect_2/6] 11. non_recursive : [eval_realselect_1/6] 12. non_recursive : [eval_realselect_0/6] 13. non_recursive : [eval_realselect_bb0_in/6] 14. non_recursive : [eval_realselect_start/6] #### Obtained direct recursion through partial evaluation 0. SCC is partially evaluated into eval_realselect_bb2_in/6 1. SCC is partially evaluated into eval_realselect_bb1_in/10 2. SCC is completely evaluated into other SCCs 3. SCC is completely evaluated into other SCCs 4. SCC is completely evaluated into other SCCs 5. SCC is partially evaluated into eval_realselect_bb1_in_loop_cont/7 6. SCC is partially evaluated into eval_realselect_6/6 7. SCC is completely evaluated into other SCCs 8. SCC is completely evaluated into other SCCs 9. SCC is completely evaluated into other SCCs 10. SCC is completely evaluated into other SCCs 11. SCC is completely evaluated into other SCCs 12. SCC is completely evaluated into other SCCs 13. SCC is completely evaluated into other SCCs 14. SCC is partially evaluated into eval_realselect_start/6 Control-Flow Refinement of Cost Relations ===================================== ### Specialization of cost equations eval_realselect_bb2_in/6 * CE 11 is refined into CE [12] * CE 10 is refined into CE [13] * CE 9 is refined into CE [14] ### Cost equations --> "Loop" of eval_realselect_bb2_in/6 * CEs [14] --> Loop 12 * CEs [12] --> Loop 13 * CEs [13] --> Loop 14 ### Ranking functions of CR eval_realselect_bb2_in(V_2,V_array_size,V_j_0_sink,B,C,D) * RF of phase [12]: [V_array_size-V_j_0_sink-1] #### Partial ranking functions of CR eval_realselect_bb2_in(V_2,V_array_size,V_j_0_sink,B,C,D) * Partial RF of phase [12]: - RF of loop [12:1]: V_array_size-V_j_0_sink-1 ### Specialization of cost equations eval_realselect_bb1_in/10 * CE 5 is refined into CE [15] * CE 3 is refined into CE [16,17] * CE 6 is refined into CE [18] * CE 4 is refined into CE [19] ### Cost equations --> "Loop" of eval_realselect_bb1_in/10 * CEs [19] --> Loop 15 * CEs [15] --> Loop 16 * CEs [16,17] --> Loop 17 * CEs [18] --> Loop 18 ### Ranking functions of CR eval_realselect_bb1_in(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B,C,D,E,F) * RF of phase [15]: [V_array_size-V_i_0-1] #### Partial ranking functions of CR eval_realselect_bb1_in(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B,C,D,E,F) * Partial RF of phase [15]: - RF of loop [15:1]: V_array_size-V_i_0-1 ### Specialization of cost equations eval_realselect_bb1_in_loop_cont/7 * CE 7 is refined into CE [20] * CE 8 is refined into CE [21] ### Cost equations --> "Loop" of eval_realselect_bb1_in_loop_cont/7 * CEs [20] --> Loop 19 * CEs [21] --> Loop 20 ### Ranking functions of CR eval_realselect_bb1_in_loop_cont(A,B,C,D,E,F,G) #### Partial ranking functions of CR eval_realselect_bb1_in_loop_cont(A,B,C,D,E,F,G) ### Specialization of cost equations eval_realselect_6/6 * CE 2 is refined into CE [22,23,24,25,26] ### Cost equations --> "Loop" of eval_realselect_6/6 * CEs [24] --> Loop 21 * CEs [23,26] --> Loop 22 * CEs [25] --> Loop 23 * CEs [22] --> Loop 24 ### Ranking functions of CR eval_realselect_6(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B) #### Partial ranking functions of CR eval_realselect_6(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B) ### Specialization of cost equations eval_realselect_start/6 * CE 1 is refined into CE [27,28,29,30] ### Cost equations --> "Loop" of eval_realselect_start/6 * CEs [30] --> Loop 25 * CEs [29] --> Loop 26 * CEs [28] --> Loop 27 * CEs [27] --> Loop 28 ### Ranking functions of CR eval_realselect_start(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B) #### Partial ranking functions of CR eval_realselect_start(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B) Computing Bounds ===================================== #### Cost of chains of eval_realselect_bb2_in(V_2,V_array_size,V_j_0_sink,B,C,D): * Chain [[12],14]: 1*it(12)+0 Such that:it(12) =< -V_j_0_sink+C with precondition: [B=2,V_array_size=C,V_array_size=D+1,V_j_0_sink>=0,V_array_size>=V_j_0_sink+2] * Chain [[12],13]: 1*it(12)+0 Such that:it(12) =< V_array_size-V_j_0_sink with precondition: [B=3,V_j_0_sink>=0,V_array_size>=V_j_0_sink+2] * Chain [13]: 0 with precondition: [B=3,V_array_size>=2,V_j_0_sink>=0,V_array_size>=V_j_0_sink+1] #### Cost of chains of eval_realselect_bb1_in(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B,C,D,E,F): * Chain [[15],18]: 1*it(15)+1*s(3)+0 Such that:aux(3) =< V_array_size-V_i_0 it(15) =< aux(3) s(3) =< it(15)*aux(3) with precondition: [B=3,V_i_0>=0,V_array_size>=V_i_0+2] * Chain [[15],17]: 2*it(15)+1*s(3)+0 Such that:aux(4) =< V_array_size-V_i_0 it(15) =< aux(4) s(3) =< it(15)*aux(4) with precondition: [B=3,V_i_0>=0,V_array_size>=V_i_0+3] * Chain [[15],16]: 1*it(15)+1*s(3)+0 Such that:aux(5) =< -V_i_0+C it(15) =< aux(5) s(3) =< it(15)*aux(5) with precondition: [B=4,V_array_size=C,V_array_size=D+1,V_array_size=E+1,V_array_size=F+1,V_i_0>=0,V_array_size>=V_i_0+2] * Chain [18]: 0 with precondition: [B=3,V_i_0>=0] * Chain [17]: 1*s(4)+0 Such that:s(4) =< V_array_size-V_i_0 with precondition: [B=3,V_i_0>=0,V_array_size>=V_i_0+2] * Chain [16]: 0 with precondition: [B=4,C=V_2,D=V_21,F=V_j_0_sink,V_i_0=E,V_i_0>=0,V_i_0+1>=V_array_size] #### Cost of chains of eval_realselect_bb1_in_loop_cont(A,B,C,D,E,F,G): * Chain [20]: 0 with precondition: [A=3] * Chain [19]: 0 with precondition: [A=4] #### Cost of chains of eval_realselect_6(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B): * Chain [24]: 0 with precondition: [] * Chain [23]: 0 with precondition: [1>=V_array_size] * Chain [22]: 3*s(10)+2*s(11)+0 Such that:aux(7) =< V_array_size s(10) =< aux(7) s(11) =< s(10)*aux(7) with precondition: [V_array_size>=2] * Chain [21]: 2*s(16)+1*s(17)+0 Such that:s(15) =< V_array_size s(16) =< s(15) s(17) =< s(16)*s(15) with precondition: [V_array_size>=3] #### Cost of chains of eval_realselect_start(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B): * Chain [28]: 0 with precondition: [] * Chain [27]: 0 with precondition: [1>=V_array_size] * Chain [26]: 3*s(19)+2*s(20)+0 Such that:s(18) =< V_array_size s(19) =< s(18) s(20) =< s(19)*s(18) with precondition: [V_array_size>=2] * Chain [25]: 2*s(22)+1*s(23)+0 Such that:s(21) =< V_array_size s(22) =< s(21) s(23) =< s(22)*s(21) with precondition: [V_array_size>=3] Closed-form bounds of eval_realselect_start(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B): ------------------------------------- * Chain [28] with precondition: [] - Upper bound: 0 - Complexity: constant * Chain [27] with precondition: [1>=V_array_size] - Upper bound: 0 - Complexity: constant * Chain [26] with precondition: [V_array_size>=2] - Upper bound: 2*V_array_size*V_array_size+3*V_array_size - Complexity: n^2 * Chain [25] with precondition: [V_array_size>=3] - Upper bound: 2*V_array_size+V_array_size*V_array_size - Complexity: n^2 ### Maximum cost of eval_realselect_start(V_2,V_21,V_array_size,V_i_0,V_j_0_sink,B): nat(V_array_size)*nat(V_array_size)+nat(V_array_size)*2+(nat(V_array_size)*nat(V_array_size)+nat(V_array_size)) Asymptotic class: n^2 * Total analysis performed in 275 ms.