future_moves: delete commented out code
This commit is contained in:
parent
cf1ff3e82d
commit
33520c200c
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user