Ejemplo n.º 1
0
 public SearchMoveFinder(Game game)
     : base(game)
 {
     UseDepthFirst      = false;
     WorkingTableau     = new Tableau();
     TranspositionTable = new HashSet <int>();
     MoveStack          = new MoveList();
     Moves         = new MoveList();
     MaxDepth      = 20;
     MaxNodes      = 10000;
     MoveAllocator = new ListAllocator <Move>(false);
     NodeAllocator = new ListAllocator <Node>(true);
 }
Ejemplo n.º 2
0
 public SearchMoveFinder(Game game)
     : base(game)
 {
     UseDepthFirst = false;
     WorkingTableau = new Tableau();
     TranspositionTable = new HashSet<int>();
     MoveStack = new MoveList();
     Moves = new MoveList();
     MaxDepth = 20;
     MaxNodes = 10000;
     MoveAllocator = new ListAllocator<Move>(false);
     NodeAllocator = new ListAllocator<Node>(true);
 }