Home
last modified time | relevance | path

Searched refs:bestg (Results 1 – 6 of 6) sorted by relevance

/dports/math/chaco/Chaco-2.2/code/klvspiff/
H A Dnway_klv.c168 bestg = bestg_min;
252 step, bestg, beststep);
296 if ((gtotal > bestg && temp_balanced) ||
298 bestg = gtotal;
317 if (bestg != bestg_min)
318 neg_cost = bestg - gtotal;
322 !(enforce_balance && bestg == bestg_min)) {
326 step, bestg, beststep);
330 step, bestg, beststep);
475 if (bestg > 0 || (bestg != bestg_min && !balanced && enforce_balance)) {
[all …]
/dports/math/chaco/Chaco-2.2/code/klspiff/
H A Dnway_kl.c213 bestg = bestg_min;
317 step, bestg, beststep);
350 bestg = gtotal;
369 if (bestg != bestg_min)
370 neg_cost = bestg - gtotal;
374 !(enforce_balance && bestg == bestg_min) &&
379 step, bestg, beststep);
383 step, bestg, beststep);
461 if (bestg > 0 || (bestg != bestg_min && !balanced && enforce_balance) ||
462 (bestg != bestg_min && balance_trouble)) {
[all …]
H A Dnway_kl.old203 bestg = bestg_min;
320 step, bestg, beststep);
350 bestg = gtotal;
363 if (bestg != bestg_min)
364 neg_cost = bestg - gtotal;
368 !(enforce_balance && bestg == bestg_min) &&
373 step, bestg, beststep);
377 step, bestg, beststep);
455 if (bestg > 0 || (bestg != bestg_min && !balanced && enforce_balance)) {
456 improved += bestg;
[all …]
/dports/math/concorde/concorde/LOCALCUT/
H A Dfirst.c762 int bestg = 0; in cfrac_approx() local
789 bestg = g; in cfrac_approx()
796 *p_num = bestg * sgn; in cfrac_approx()
/dports/sysutils/gpart/gpart-0.1h/src/
H A Dgpart.c888 float bestg = 0.0; in get_best_guess() local
897 if (g[i]->m_guess * g[i]->m_weight > bestg) in get_best_guess()
898 bestg = g[mx = i]->m_guess * g[i]->m_weight; in get_best_guess()
900 return ((bestg > 0.0) ? g[mx] : 0); in get_best_guess()
/dports/math/giacxcas/giac-1.6.0/src/
H A Dvecteur.cc1573 gen bestg=accurate_evalf(gen(best),90); in balance() local
1577 gen tmp=abs(exp(-int(i)*bestg-lnv0,contextptr)*v[i],contextptr); in balance()
1589 bestg=accurate_evalf(bestg,nbits); in balance()
1591 bestg=accurate_evalf(bestg,90); in balance()
1594 v[d]=exp(-d*bestg-lnv0,contextptr)*v[d]; in balance()
1596 return exp(bestg,contextptr); in balance()