Merge branch 'pairing2' of gitlab.jeudego.org:tournois/pairgoth into pairing2

This commit is contained in:
Claude Brisson
2023-10-02 10:10:14 +02:00
3 changed files with 997 additions and 997 deletions

View File

@@ -414,7 +414,7 @@ sealed class Solver(
//private val standingScore by lazy { computeStandingScore() }
// Decide each pairable group based on the main criterion
private val groupsCount get() = (mainLimits.second - mainLimits.first).toInt()
private val groupsCount get() = 1 + (mainLimits.second - mainLimits.first).toInt()
private val _groups by lazy {
pairables.associate { pairable -> Pair(pairable.id, pairable.main.toInt()) }
}