forked from science-ation/science-ation
Higher preference for having the right languages on a team
This commit is contained in:
parent
573a580e3a
commit
8e650a104d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user