예제 #1
0
 public UInt32RecursionSubsetSumSolver(
     AlgorithmOptions options,
     ILogger logger)
 {
     this.options = options ?? throw new ArgumentNullException(nameof(options));
     this.logger  = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public DynamicSubsetSumSolver(
     AlgorithmOptions options,
     CultureInfo cultureInfo,
     ILogger logger)
 {
     this.options     = options ?? throw new ArgumentNullException(nameof(options));
     this.logger      = logger ?? throw new ArgumentNullException(nameof(logger));
     this.cultureInfo = cultureInfo ?? throw new ArgumentNullException(nameof(cultureInfo));
 }