This commit is contained in:
2025-02-18 15:08:35 -05:00
parent 22bc4876e5
commit 1972707f88
3 changed files with 16 additions and 0 deletions

View File

@@ -92,6 +92,10 @@ impl FutureMoves {
self.arena.len()
}
pub fn is_empty(&self) -> bool {
self.len() == 0
}
/// Generate children for all children of `nodes`
fn extend_layers(&mut self) {
let mut next_nodes: Vec<usize> = (0..self.arena.len())