remove Min and Max ChildrenEvalMethod
This commit is contained in:
parent
134f922b0a
commit
e14391d129
@ -78,8 +78,6 @@ impl std::fmt::Display for FutureMoveConfig {
|
||||
pub enum ChildrenEvalMethod {
|
||||
/// Best (by far) strat compared to Max or Min
|
||||
Average,
|
||||
Max,
|
||||
Min,
|
||||
}
|
||||
|
||||
impl FutureMoves {
|
||||
@ -286,8 +284,6 @@ impl FutureMoves {
|
||||
.into_iter()
|
||||
.sum::<i32>()
|
||||
.checked_div(self.arena[idx].children.len() as i32),
|
||||
ChildrenEvalMethod::Max => children_values.into_iter().max(),
|
||||
ChildrenEvalMethod::Min => children_values.into_iter().min(),
|
||||
}
|
||||
.unwrap_or(0);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user