25,161
edits
Changes
RankCut
,no edit summary
features = determineFeatures(state);
if (pruneRest || (probability(features) < threshold) ) {
pruneRest = true;
score = −RankCut(successor(state, move), −β, −α, depth−1−r);
if (RankCutReSearch && (score > α) && pruneRest)
score = −RankCut(successor(state, move), −β, −α, depth−1);
if (score > α) {
pruneRest = false;
α = score;
}
return score;