Higher preference for having the right languages on a team

This commit is contained in:
james 2010-02-17 18:59:56 +00:00
parent 573a580e3a
commit 8e650a104d

View File

@ -160,7 +160,7 @@ function judges_cost_function($annealer, $bucket_id, $ids)
* increase the cost */
for($y=0; $y < count($t['langs']); $y++) {
$l = $t['langs'][$y];
if(!in_array($l, $j['languages'])) $cost += 25;
if(!in_array($l, $j['languages'])) $cost += 45;
}
/* If divisional round2 is enabled, make sure there is a judge