add back pruning
This commit is contained in:
@@ -16,7 +16,7 @@ impl ComplexAgent {
|
|||||||
max_depth: 20,
|
max_depth: 20,
|
||||||
min_arena_depth_sub: 3,
|
min_arena_depth_sub: 3,
|
||||||
top_k_children: 2,
|
top_k_children: 2,
|
||||||
up_to_minus: 3,
|
up_to_minus: usize::MAX, // disable pruning
|
||||||
max_arena_size: 10_000_000,
|
max_arena_size: 10_000_000,
|
||||||
};
|
};
|
||||||
Self {
|
Self {
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ impl FutureMoves {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// self.prune_bad_children();
|
self.prune_bad_children();
|
||||||
self.current_depth += 1;
|
self.current_depth += 1;
|
||||||
if cf.is_break() {
|
if cf.is_break() {
|
||||||
println!("extend_layers: early break");
|
println!("extend_layers: early break");
|
||||||
|
|||||||
Reference in New Issue
Block a user