摘要: function alphabeta(node, depth, α, β, Player) ifdepth = 0 or node is a terminal node return the heuristic value of node ifPlayer = MaxPlayer for each child of node α := max(α, alphabeta(child, depth-1, α, β, not(Player) )) if β ≤ α break (* Beta cut-off *) return α else for each child of node β :=.. 阅读全文
posted @ 2012-05-18 18:37 SolidMango 阅读(347) 评论(0) 推荐(0) 编辑