|
|
|
|
@ -30,7 +30,7 @@ final class MatchScheduler : ModelObject, Storable { |
|
|
|
|
var shouldEndRoundBeforeStartingNext: Bool |
|
|
|
|
var groupStageChunkCount: Int? |
|
|
|
|
var overrideCourtsUnavailability: Bool = false |
|
|
|
|
var shouldTryToFillUpCourtsAvailable: Bool = false |
|
|
|
|
var shouldTryToFillUpCourtsAvailable: Bool = true |
|
|
|
|
var courtsAvailable: Set<Int> = Set<Int>() |
|
|
|
|
|
|
|
|
|
init(tournament: String, |
|
|
|
|
@ -41,9 +41,12 @@ final class MatchScheduler : ModelObject, Storable { |
|
|
|
|
accountLoserBracketBreakTime: Bool = false, |
|
|
|
|
randomizeCourts: Bool = true, |
|
|
|
|
rotationDifferenceIsImportant: Bool = false, |
|
|
|
|
shouldHandleUpperRoundSlice: Bool = true, |
|
|
|
|
shouldHandleUpperRoundSlice: Bool = false, |
|
|
|
|
shouldEndRoundBeforeStartingNext: Bool = true, |
|
|
|
|
groupStageChunkCount: Int? = nil, overrideCourtsUnavailability: Bool = false, shouldTryToFillUpCourtsAvailable: Bool = false, courtsAvailable: Set<Int> = Set<Int>()) { |
|
|
|
|
groupStageChunkCount: Int? = nil, |
|
|
|
|
overrideCourtsUnavailability: Bool = false, |
|
|
|
|
shouldTryToFillUpCourtsAvailable: Bool = true, |
|
|
|
|
courtsAvailable: Set<Int> = Set<Int>()) { |
|
|
|
|
self.tournament = tournament |
|
|
|
|
self.timeDifferenceLimit = timeDifferenceLimit |
|
|
|
|
self.loserBracketRotationDifference = loserBracketRotationDifference |
|
|
|
|
|