Lines Matching refs:cost0
590 int cost0; in tf_analysis() local
676 cost0 = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*sel+0]); in tf_analysis()
681 curr0 = IMIN(cost0, cost1 + lambda); in tf_analysis()
682 curr1 = IMIN(cost0 + lambda, cost1); in tf_analysis()
683 cost0 = curr0 + importance[i]*abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*sel+0]); in tf_analysis()
686 cost0 = IMIN(cost0, cost1); in tf_analysis()
687 selcost[sel]=cost0; in tf_analysis()
693 cost0 = importance[0]*abs(metric[0]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]); in tf_analysis()
701 from0 = cost0; in tf_analysis()
712 from0 = cost0 + lambda; in tf_analysis()
722 … cost0 = curr0 + importance[i]*abs(metric[i]-2*tf_select_table[LM][4*isTransient+2*tf_select+0]); in tf_analysis()
725 tf_res[len-1] = cost0 < cost1 ? 0 : 1; in tf_analysis()