در مورد روش ایجاد یک درخت minimax چگونه عمل کنم ( تئوری بازی در هوش مصنوعی )
در مورد روش ایجاد یک درخت minimax چگونه عمل کنم ( تئوری بازی در هوش مصنوعی )
تولید درخت مینی ماکس به نقل از ویکی
function minimax(node, depth)
if node is a terminal node or depth = CutoffDepth
return the heuristic value of node
if the adversary is to play at node
let beta := +∞
foreach child of node
beta := min(beta, minimax(child, depth+1))
return beta
else {we are to play at node}
let α := -∞
foreach child of node
α := max(α, minimax(child, depth+1))
return α
آخرین ویرایش به وسیله whitehat : چهارشنبه 01 اسفند 1386 در 11:43 صبح
To follow the path:
Look to the master
Follow the master
Walk with the master
See through the master
Become the master