The previous implementation was overly complicated and may have been buggy except when searching only 2 plies ahead.
19 lines
355 B
Java
19 lines
355 B
Java
package net.woodyfolsom.msproj.tree;
|
|
|
|
public class AlphaBetaPropeties extends GameTreeNodeProperties{
|
|
int alpha = 0;
|
|
int beta = 0;
|
|
public int getAlpha() {
|
|
return alpha;
|
|
}
|
|
public void setAlpha(int alpha) {
|
|
this.alpha = alpha;
|
|
}
|
|
public int getBeta() {
|
|
return beta;
|
|
}
|
|
public void setBeta(int beta) {
|
|
this.beta = beta;
|
|
}
|
|
}
|