def minimax_serial(pos): (score, move) = _minimax_serial(pos.numpyify(), np.array(pos.wc).astype(np.uint8), np.array(pos.bc).astype(np.uint8), pos.ep, pos.kp, pos.score, 0, DEPTH) nodes = print_eval() return (score, move, nodes)
def pvsplit(pos): (score, move) = _pvsplit(pos.numpyify(), np.array(pos.wc).astype(np.uint8), np.array(pos.bc).astype(np.uint8), pos.ep, pos.kp, pos.score, 0, DEPTH, -1000000, 1000000, NUM_THREADS) nodes = print_eval() return (score, move, nodes)
def alpha_beta_top_level_parallel(pos): (score, move) = _alpha_beta_top_level_parallel( pos.numpyify(), np.array(pos.wc).astype(np.uint8), np.array(pos.bc).astype(np.uint8), pos.ep, pos.kp, pos.score, 0, DEPTH, NUM_THREADS, -100000, 100000) nodes = print_eval() return (score, move, nodes)
def alpha_beta_serial(pos): (score, move) = _alpha_beta_serial(pos.numpyify(), np.array(pos.wc).astype(np.uint8), np.array(pos.bc).astype(np.uint8), pos.ep, pos.kp, pos.score, 0, DEPTH, -100000, 100000) nodes = print_eval() return (score, move, nodes)
def minimax_top_level_parallel(pos): (score, move) = _minimax_top_level_parallel(pos.numpyify(), np.array(pos.wc).astype(np.uint8), np.array(pos.bc).astype(np.uint8), pos.ep, pos.kp, pos.score, 0, DEPTH, NUM_THREADS) nodes = print_eval() return (score, move, nodes)