public FewestCampaignClashesBreakFactor(
     IReadOnlyCollection <Spot> spots,
     SmoothBreak smoothBreak,
     ICampaignClashChecker campaignClashChecker)
 {
     _spots                = spots;
     _smoothBreak          = smoothBreak;
     _campaignClashChecker = campaignClashChecker;
 }
Beispiel #2
0
 public FewestCampaignAndProductClashesBreakFactor(
     SmoothBreak smoothBreak,
     IReadOnlyCollection <Spot> spots,
     IReadOnlyDictionary <Guid, SpotInfo> spotInfos,
     IReadOnlyDictionary <string, Product> productsByExternalRef,
     IReadOnlyDictionary <string, Clash> clashesByExternalRef,
     IProductClashChecker productClashChecker,
     ICampaignClashChecker campaignClashChecker,
     IClashExposureCountService effectiveClashExposureCount)
 {
     _smoothBreak                 = smoothBreak;
     _spots                       = spots;
     _spotInfos                   = spotInfos;
     _productsByExternalRef       = productsByExternalRef;
     _clashesByExternalRef        = clashesByExternalRef;
     _productClashChecker         = productClashChecker;
     _campaignClashChecker        = campaignClashChecker;
     _effectiveClashExposureCount = effectiveClashExposureCount;
 }