<div dir="ltr">I am trying to implement the alpha beta pruning but with no luck can anyone help me with how it works I am trying to use this Algorithm<br><br>αβ(n, d, α, β)<br>S ← Successors(n) <br>if d ≤ 0 ∨ S ≡ ∅ then<br>
return f(n) <br>best ← −∞ <br>for all ni ∈ S do<br> v ← −αβ(ni, d − 1, −β, −max(α, best)) <br> if v > best then<br> best ← v if best ≥ β then<br> return best <br>return best <br><br><br>Best regards,<br>
G<br></div>