add comment about minimax
This commit is contained in:
@@ -291,6 +291,7 @@ impl FutureMoves {
|
|||||||
self.arena[x]
|
self.arena[x]
|
||||||
.children
|
.children
|
||||||
.iter()
|
.iter()
|
||||||
|
// this would be considered `minimax`
|
||||||
.max_by_key(|&&idx| self.arena[idx].value)
|
.max_by_key(|&&idx| self.arena[idx].value)
|
||||||
})
|
})
|
||||||
.inspect(|&&x| {
|
.inspect(|&&x| {
|
||||||
|
|||||||
Reference in New Issue
Block a user