mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-06-18 08:27:52 +09:00
memo
This commit is contained in:
parent
62bb2d25dc
commit
93990049bf
@ -368,6 +368,7 @@ class Session {
|
|||||||
let b = beta;
|
let b = beta;
|
||||||
|
|
||||||
// 次のターンのプレイヤーにとって最も良い手を取得
|
// 次のターンのプレイヤーにとって最も良い手を取得
|
||||||
|
// TODO: cansをまず浅く読んで(または価値マップを利用して)から有益そうな手から順に並べ替え、効率よく枝刈りできるようにする
|
||||||
for (const p of cans) {
|
for (const p of cans) {
|
||||||
if (isBotTurn) {
|
if (isBotTurn) {
|
||||||
const score = dive(p, a, beta, depth + 1);
|
const score = dive(p, a, beta, depth + 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user