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