0.03/0.21 WORST_CASE(?,O(n^1)) 0.03/0.21 0.03/0.21 Preprocessing Cost Relations 0.03/0.21 ===================================== 0.03/0.21 0.03/0.21 #### Computed strongly connected components 0.03/0.21 0. recursive : [eval_speedDis2_bb1_in/6,eval_speedDis2_bb2_in/6] 0.03/0.21 1. non_recursive : [eval_speedDis2_stop/6] 0.03/0.21 2. non_recursive : [eval_speedDis2_bb3_in/6] 0.03/0.21 3. non_recursive : [exit_location/1] 0.03/0.21 4. non_recursive : [eval_speedDis2_bb1_in_loop_cont/7] 0.03/0.21 5. non_recursive : [eval_speedDis2_5/6] 0.03/0.21 6. non_recursive : [eval_speedDis2_4/6] 0.03/0.21 7. non_recursive : [eval_speedDis2_3/6] 0.03/0.21 8. non_recursive : [eval_speedDis2_2/6] 0.03/0.21 9. non_recursive : [eval_speedDis2_1/6] 0.03/0.21 10. non_recursive : [eval_speedDis2_0/6] 0.03/0.21 11. non_recursive : [eval_speedDis2_bb0_in/6] 0.03/0.21 12. non_recursive : [eval_speedDis2_start/6] 0.03/0.21 0.03/0.21 #### Obtained direct recursion through partial evaluation 0.03/0.21 0. SCC is partially evaluated into eval_speedDis2_bb1_in/6 0.03/0.21 1. SCC is completely evaluated into other SCCs 0.03/0.21 2. SCC is completely evaluated into other SCCs 0.03/0.21 3. SCC is completely evaluated into other SCCs 0.03/0.21 4. SCC is partially evaluated into eval_speedDis2_bb1_in_loop_cont/7 0.03/0.21 5. SCC is partially evaluated into eval_speedDis2_5/6 0.03/0.21 6. SCC is completely evaluated into other SCCs 0.03/0.21 7. SCC is completely evaluated into other SCCs 0.03/0.21 8. SCC is completely evaluated into other SCCs 0.03/0.21 9. SCC is completely evaluated into other SCCs 0.03/0.21 10. SCC is completely evaluated into other SCCs 0.03/0.21 11. SCC is completely evaluated into other SCCs 0.03/0.21 12. SCC is partially evaluated into eval_speedDis2_start/6 0.03/0.21 0.03/0.21 Control-Flow Refinement of Cost Relations 0.03/0.21 ===================================== 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_speedDis2_bb1_in/6 0.03/0.21 * CE 6 is refined into CE [9] 0.03/0.21 * CE 5 is refined into CE [10] 0.03/0.21 * CE 3 is refined into CE [11] 0.03/0.21 * CE 4 is refined into CE [12] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_speedDis2_bb1_in/6 0.03/0.21 * CEs [11] --> Loop 9 0.03/0.21 * CEs [12] --> Loop 10 0.03/0.21 * CEs [9] --> Loop 11 0.03/0.21 * CEs [10] --> Loop 12 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_speedDis2_bb1_in(V__0,V__01,V_n,B,C,D) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_speedDis2_bb1_in(V__0,V__01,V_n,B,C,D) 0.03/0.21 * Partial RF of phase [9,10]: 0.03/0.21 - RF of loop [9:1]: 0.03/0.21 V__0-V__01+1 depends on loops [10:1] 0.03/0.21 -V__01+V_n 0.03/0.21 - RF of loop [10:1]: 0.03/0.21 -V__0+V__01 depends on loops [9:1] 0.03/0.21 -V__0+V_n 0.03/0.21 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_speedDis2_bb1_in_loop_cont/7 0.03/0.21 * CE 8 is refined into CE [13] 0.03/0.21 * CE 7 is refined into CE [14] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_speedDis2_bb1_in_loop_cont/7 0.03/0.21 * CEs [13] --> Loop 13 0.03/0.21 * CEs [14] --> Loop 14 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_speedDis2_bb1_in_loop_cont(A,B,C,D,E,F,G) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_speedDis2_bb1_in_loop_cont(A,B,C,D,E,F,G) 0.03/0.21 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_speedDis2_5/6 0.03/0.21 * CE 2 is refined into CE [15,16,17,18] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_speedDis2_5/6 0.03/0.21 * CEs [16,18] --> Loop 15 0.03/0.21 * CEs [15] --> Loop 16 0.03/0.21 * CEs [17] --> Loop 17 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_speedDis2_5(V__0,V__01,V_n,V_x,V_z,B) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_speedDis2_5(V__0,V__01,V_n,V_x,V_z,B) 0.03/0.21 0.03/0.21 0.03/0.21 ### Specialization of cost equations eval_speedDis2_start/6 0.03/0.21 * CE 1 is refined into CE [19,20,21] 0.03/0.21 0.03/0.21 0.03/0.21 ### Cost equations --> "Loop" of eval_speedDis2_start/6 0.03/0.21 * CEs [21] --> Loop 18 0.03/0.21 * CEs [20] --> Loop 19 0.03/0.21 * CEs [19] --> Loop 20 0.03/0.21 0.03/0.21 ### Ranking functions of CR eval_speedDis2_start(V__0,V__01,V_n,V_x,V_z,B) 0.03/0.21 0.03/0.21 #### Partial ranking functions of CR eval_speedDis2_start(V__0,V__01,V_n,V_x,V_z,B) 0.03/0.21 0.03/0.21 0.03/0.21 Computing Bounds 0.03/0.21 ===================================== 0.03/0.21 0.03/0.21 #### Cost of chains of eval_speedDis2_bb1_in(V__0,V__01,V_n,B,C,D): 0.03/0.21 * Chain [[9,10],12]: 1*it(9)+1*it(10)+0 0.03/0.21 Such that:it(10) =< -V__0+V_n 0.03/0.21 it(9) =< -V__01+V_n 0.03/0.21 it(9) =< -V__01+D 0.03/0.21 0.03/0.21 with precondition: [B=2,V_n=C,V_n>=V__0+1,D>=V__01,D>=V_n] 0.03/0.21 0.03/0.21 * Chain [[9,10],11]: 1*it(9)+1*it(10)+0 0.03/0.21 Such that:it(10) =< -V__0+V_n 0.03/0.21 it(9) =< -V__01+V_n 0.03/0.21 0.03/0.21 with precondition: [B=3,V_n>=V__0+1] 0.03/0.21 0.03/0.21 * Chain [12]: 0 0.03/0.21 with precondition: [B=2,D=V__01,V__0=C,V__0>=V_n] 0.03/0.21 0.03/0.21 * Chain [11]: 0 0.03/0.21 with precondition: [B=3] 0.03/0.21 0.03/0.21 0.03/0.21 #### Cost of chains of eval_speedDis2_bb1_in_loop_cont(A,B,C,D,E,F,G): 0.03/0.21 * Chain [14]: 0 0.03/0.21 with precondition: [A=2] 0.03/0.21 0.03/0.21 * Chain [13]: 0 0.03/0.21 with precondition: [A=3] 0.03/0.21 0.03/0.21 0.03/0.21 #### Cost of chains of eval_speedDis2_5(V__0,V__01,V_n,V_x,V_z,B): 0.03/0.21 * Chain [17]: 0 0.03/0.21 with precondition: [] 0.03/0.21 0.03/0.21 * Chain [16]: 0 0.03/0.21 with precondition: [V_x>=V_n] 0.03/0.21 0.03/0.21 * Chain [15]: 2*s(1)+2*s(2)+0 0.03/0.21 Such that:aux(5) =< V_n-V_x 0.03/0.21 aux(6) =< V_n-V_z 0.03/0.21 s(1) =< aux(5) 0.03/0.21 s(2) =< aux(6) 0.03/0.21 0.03/0.21 with precondition: [V_n>=V_x+1] 0.03/0.21 0.03/0.21 0.03/0.21 #### Cost of chains of eval_speedDis2_start(V__0,V__01,V_n,V_x,V_z,B): 0.03/0.21 * Chain [20]: 0 0.03/0.21 with precondition: [] 0.03/0.21 0.03/0.21 * Chain [19]: 0 0.03/0.21 with precondition: [V_x>=V_n] 0.03/0.21 0.03/0.21 * Chain [18]: 2*s(7)+2*s(8)+0 0.03/0.21 Such that:s(5) =< V_n-V_x 0.03/0.21 s(6) =< V_n-V_z 0.03/0.21 s(7) =< s(5) 0.03/0.21 s(8) =< s(6) 0.03/0.21 0.03/0.21 with precondition: [V_n>=V_x+1] 0.03/0.21 0.03/0.21 0.03/0.21 Closed-form bounds of eval_speedDis2_start(V__0,V__01,V_n,V_x,V_z,B): 0.03/0.21 ------------------------------------- 0.03/0.21 * Chain [20] with precondition: [] 0.03/0.21 - Upper bound: 0 0.03/0.21 - Complexity: constant 0.03/0.21 * Chain [19] with precondition: [V_x>=V_n] 0.03/0.21 - Upper bound: 0 0.03/0.21 - Complexity: constant 0.03/0.21 * Chain [18] with precondition: [V_n>=V_x+1] 0.03/0.21 - Upper bound: 2*V_n-2*V_x+nat(V_n-V_z)*2 0.03/0.21 - Complexity: n 0.03/0.21 0.03/0.21 ### Maximum cost of eval_speedDis2_start(V__0,V__01,V_n,V_x,V_z,B): nat(V_n-V_z)*2+nat(V_n-V_x)*2 0.03/0.21 Asymptotic class: n 0.03/0.21 * Total analysis performed in 145 ms. 0.03/0.21 0.03/0.32 EOF