improve parent selection
This commit is contained in:
@@ -22,6 +22,9 @@ pub struct Move {
|
||||
/// Indices of this Move's Children
|
||||
pub children: Vec<usize>,
|
||||
|
||||
/// Has this [`Move`] already attempted to create children?
|
||||
pub tried_children: bool,
|
||||
|
||||
/// Value of this move (including children)
|
||||
pub value: Option<i128>,
|
||||
|
||||
@@ -52,6 +55,7 @@ impl Move {
|
||||
color,
|
||||
is_trimmed: false,
|
||||
self_value: 0,
|
||||
tried_children: false,
|
||||
};
|
||||
m.self_value = m.compute_self_value(agent_color);
|
||||
m
|
||||
|
||||
Reference in New Issue
Block a user