Lines Matching refs:rcw
253 double lcw[2] = {0,0}, rcw[2];
259 rcw[0] = rcw0[0]; rcw[1] = rcw0[1];
264 rcw[responses[idx]] -= w;
272 double L = 0, R = rcw[0] + rcw[1];
273 double lsum2 = 0, rsum2 = rcw[0]*rcw[0] + rcw[1]*rcw[1];
282 lv = lcw[idx]; rv = rcw[idx];
285 lcw[idx] = lv + w; rcw[idx] = rv - w;
306 rcw[idx] -= w;
310 double val = lcw[0] + rcw[1], val2 = lcw[1] + rcw[0];
339 double lcw[2]={0,0}, rcw[2]={0,0};
365 rcw[0] += cjk[j*2];
366 rcw[1] += cjk[j*2+1];
370 R = rcw[0] + rcw[1];
389 lcw[0] += w0; rcw[0] -= w0;
390 lcw[1] += w1; rcw[1] -= w1;
395 double rsum2 = rcw[0]*rcw[0] + rcw[1]*rcw[1];
412 double val = lcw[0] + rcw[1];
413 double val2 = lcw[1] + rcw[0];
705 double rcw[2] = {0,0};
717 rcw[responses[i]] += w;
721 node->class_idx = rcw[1] > rcw[0];
731 double p = rcw[1]/(rcw[0] + rcw[1]);
752 rcw[0] += w;
758 iw = 1./rcw[0];
768 subtree_weights[count] = rcw[0];
769 subtree_weights[count+1] = rcw[1];