Exemplo n.º 1
0
 public MoveOnlyAlphaBetaWithPreplacerMoveMaker(int maxSearchDepth, IUtilityCalculator calculator, PreplacerStrategy preplacer)
 {
     _thisThreadPool = _pool.Value;
     _maxSearchDepth = maxSearchDepth;
     _calculator     = calculator;
     _preplacer      = preplacer;
 }
Exemplo 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);
            }
        }
Exemplo n.º 3
0
 public UtilityMoveMaker(IUtilityCalculator calculator)
 {
     _calculator = calculator;
 }