arena fixes

This commit is contained in:
2025-02-26 10:34:35 -05:00
parent 63a20d875f
commit fd7701cd79
2 changed files with 21 additions and 17 deletions

View File

@@ -31,8 +31,8 @@ pub struct Move {
/// Which color made a move on this move?
pub color: Piece,
/// Was this child lazily created? (it will have delayed child generation)
pub is_lazy: bool,
/// Was this move's children previously trimmed?
pub is_trimmed: bool,
}
lazy_static! {
@@ -57,7 +57,7 @@ impl Move {
children: Vec::new(),
value: None,
color,
is_lazy: false,
is_trimmed: false,
self_value: 0,
};
m.self_value = m.compute_self_value(agent_color);