001 package aima.games; 002 003 /** 004 * @author Ravi Mohan 005 * 006 */ 007 public class AlphaBeta { 008 private int alpha; 009 010 private int beta; 011 012 public AlphaBeta(int alpha, int beta) { 013 this.alpha = alpha; 014 this.beta = beta; 015 } 016 017 public int alpha() { 018 return alpha; 019 } 020 021 public void setAlpha(int alpha) { 022 this.alpha = alpha; 023 } 024 025 public int beta() { 026 return beta; 027 } 028 029 public void setBeta(int beta) { 030 this.beta = beta; 031 } 032 033 public AlphaBeta copy() { 034 return new AlphaBeta(alpha, beta); 035 } 036 }