Esempio n. 1
0
 public MoveOnlyAlphaBetaWithPreplacerMoveMaker(int maxSearchDepth, IUtilityCalculator calculator, PreplacerStrategy preplacer)
 {
     _thisThreadPool = _pool.Value;
     _maxSearchDepth = maxSearchDepth;
     _calculator     = calculator;
     _preplacer      = preplacer;
 }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="maxSearchDepth"></param>
        /// <param name="calculator"></param>
        /// <param name="placementStrategy">If specified, AB will place pieces, otherwise runs in NoPiecePlacing fidelity</param>
        public AlphaBetaMoveMaker(int maxSearchDepth, IUtilityCalculator calculator, IPlacementStrategy placementStrategy = null)
        {
            _thisThreadPool = _pool.Value;
            _maxSearchDepth = maxSearchDepth;
            _calculator     = calculator;

            if (placementStrategy != null)
            {
                _placementMaker = new PlacementMaker(placementStrategy);
            }
        }
Esempio n. 3
0
 public UtilityMoveMaker(IUtilityCalculator calculator)
 {
     _calculator = calculator;
 }