future_moves: delete commented out code

This commit is contained in:
Simon Gardling 2025-03-06 12:37:58 -05:00
parent cf1ff3e82d
commit 33520c200c
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -159,23 +159,6 @@ impl FutureMoves {
self.prune_bad_children(); self.prune_bad_children();
if cf.is_break() { if cf.is_break() {
// pruning unfinished level
// let by_depth = self.by_depth(0..self.arena.len());
// let mut bdh = HashMap::new();
// for (a, b) in by_depth {
// bdh.insert(a, b);
// }
// for &i in bdh.get(&(self.current_depth + 1)).unwrap_or(&Vec::new()) {
// self.remove(i);
// }
// for &i in bdh.get(&self.current_depth).unwrap_or(&Vec::new()) {
// self.arena[i].tried_children = false;
// }
// self.refocus_tree();
return; return;
} }
self.current_depth += 1; self.current_depth += 1;