0.07/0.19 WORST_CASE(?,O(n^1)) 0.07/0.19 0.07/0.19 Preprocessing Cost Relations 0.07/0.19 ===================================== 0.07/0.19 0.07/0.19 #### Computed strongly connected components 0.07/0.19 0. recursive : [eval_random2d_1/4,eval_random2d_2/5,eval_random2d_LeafBlock1_in/5,eval_random2d_LeafBlock3_in/5,eval_random2d_LeafBlock5_in/5,eval_random2d_LeafBlock_in/5,eval_random2d_NewDefault_in/5,eval_random2d_NodeBlock7_in/5,eval_random2d_NodeBlock9_in/5,eval_random2d_NodeBlock_in/5,eval_random2d_bb1_in/3,eval_random2d_bb2_in/3,eval_random2d_bb3_in/5,eval_random2d_bb4_in/5,eval_random2d_bb5_in/5,eval_random2d_bb6_in/5,eval_random2d_bb7_in/5] 0.07/0.19 1. non_recursive : [eval_random2d_stop/1] 0.07/0.19 2. non_recursive : [eval_random2d_bb8_in/1] 0.07/0.19 3. non_recursive : [eval_random2d_bb1_in_loop_cont/2] 0.07/0.19 4. non_recursive : [eval_random2d_bb0_in/2] 0.07/0.19 5. non_recursive : [eval_random2d_start/2] 0.07/0.19 0.07/0.19 #### Obtained direct recursion through partial evaluation 0.07/0.19 0. SCC is partially evaluated into eval_random2d_bb1_in/3 0.07/0.19 1. SCC is completely evaluated into other SCCs 0.07/0.19 2. SCC is completely evaluated into other SCCs 0.07/0.19 3. SCC is completely evaluated into other SCCs 0.07/0.19 4. SCC is partially evaluated into eval_random2d_bb0_in/2 0.07/0.19 5. SCC is partially evaluated into eval_random2d_start/2 0.07/0.19 0.07/0.19 Control-Flow Refinement of Cost Relations 0.07/0.19 ===================================== 0.07/0.19 0.07/0.19 ### Specialization of cost equations eval_random2d_bb1_in/3 0.07/0.19 * CE 4 is refined into CE [5] 0.07/0.19 * CE 3 is refined into CE [6] 0.07/0.19 0.07/0.19 0.07/0.19 ### Cost equations --> "Loop" of eval_random2d_bb1_in/3 0.07/0.19 * CEs [6] --> Loop 5 0.07/0.19 * CEs [5] --> Loop 6 0.07/0.19 0.07/0.19 ### Ranking functions of CR eval_random2d_bb1_in(V_N,V_i_0,B) 0.07/0.19 * RF of phase [5]: [V_N-V_i_0] 0.07/0.19 0.07/0.19 #### Partial ranking functions of CR eval_random2d_bb1_in(V_N,V_i_0,B) 0.07/0.19 * Partial RF of phase [5]: 0.07/0.19 - RF of loop [5:1]: 0.07/0.19 V_N-V_i_0 0.07/0.19 0.07/0.19 0.07/0.19 ### Specialization of cost equations eval_random2d_bb0_in/2 0.07/0.19 * CE 2 is refined into CE [7,8] 0.07/0.19 0.07/0.19 0.07/0.19 ### Cost equations --> "Loop" of eval_random2d_bb0_in/2 0.07/0.19 * CEs [8] --> Loop 7 0.07/0.19 * CEs [7] --> Loop 8 0.07/0.19 0.07/0.19 ### Ranking functions of CR eval_random2d_bb0_in(V_N,B) 0.07/0.19 0.07/0.19 #### Partial ranking functions of CR eval_random2d_bb0_in(V_N,B) 0.07/0.19 0.07/0.19 0.07/0.19 ### Specialization of cost equations eval_random2d_start/2 0.07/0.19 * CE 1 is refined into CE [9,10] 0.07/0.19 0.07/0.19 0.07/0.19 ### Cost equations --> "Loop" of eval_random2d_start/2 0.07/0.19 * CEs [10] --> Loop 9 0.07/0.19 * CEs [9] --> Loop 10 0.07/0.19 0.07/0.19 ### Ranking functions of CR eval_random2d_start(V_N,B) 0.07/0.19 0.07/0.19 #### Partial ranking functions of CR eval_random2d_start(V_N,B) 0.07/0.19 0.07/0.19 0.07/0.19 Computing Bounds 0.07/0.19 ===================================== 0.07/0.19 0.07/0.19 #### Cost of chains of eval_random2d_bb1_in(V_N,V_i_0,B): 0.07/0.19 * Chain [[5],6]: 1*it(5)+0 0.07/0.19 Such that:it(5) =< V_N-V_i_0 0.07/0.19 0.07/0.19 with precondition: [B=2,V_i_0>=0,V_N>=V_i_0+1] 0.07/0.19 0.07/0.19 * Chain [6]: 0 0.07/0.19 with precondition: [B=2,V_i_0>=0,V_i_0>=V_N] 0.07/0.19 0.07/0.19 0.07/0.19 #### Cost of chains of eval_random2d_bb0_in(V_N,B): 0.07/0.19 * Chain [8]: 0 0.07/0.19 with precondition: [0>=V_N] 0.07/0.19 0.07/0.19 * Chain [7]: 1*s(1)+0 0.07/0.19 Such that:s(1) =< V_N 0.07/0.19 0.07/0.19 with precondition: [V_N>=1] 0.07/0.19 0.07/0.19 0.07/0.19 #### Cost of chains of eval_random2d_start(V_N,B): 0.07/0.19 * Chain [10]: 0 0.07/0.19 with precondition: [0>=V_N] 0.07/0.19 0.07/0.19 * Chain [9]: 1*s(2)+0 0.07/0.19 Such that:s(2) =< V_N 0.07/0.19 0.07/0.19 with precondition: [V_N>=1] 0.07/0.19 0.07/0.19 0.07/0.19 Closed-form bounds of eval_random2d_start(V_N,B): 0.07/0.19 ------------------------------------- 0.07/0.19 * Chain [10] with precondition: [0>=V_N] 0.07/0.19 - Upper bound: 0 0.07/0.19 - Complexity: constant 0.07/0.19 * Chain [9] with precondition: [V_N>=1] 0.07/0.19 - Upper bound: V_N 0.07/0.19 - Complexity: n 0.07/0.19 0.07/0.19 ### Maximum cost of eval_random2d_start(V_N,B): nat(V_N) 0.07/0.19 Asymptotic class: n 0.07/0.19 * Total analysis performed in 98 ms. 0.07/0.19 0.07/0.29 EOF