示例#1
0
        public void Run()
        {
            int        nota;
            negaResult result;

            this.nodes = 0;
            this.hits  = 0;
            //this.tabuleiro.print();
            //Thread.Sleep(300);
            nota         = Nega(-99999999, +99999999, maxPly, 0);
            result.nota  = nota;
            result.move  = this.move;
            result.nodes = this.nodes;
            result.hits  = this.hits;
            //Console.Out.WriteLine("Q " + this.quiesNodes.ToString());
            unsafe
            {
                if ((!*bParar) && (resultados.isEmpty()))
                {
                    resultados.put(result);
                }
            }
        }