edu.columbia.cs.coms4701.search.adversarial
Interface CutoffTest<S extends GameState>
public interface CutoffTest<S extends GameState>
A function which examines a game state at a particular depth, and returns true
if a HeuristicStateEvaluationFunction, rather than deeper alpha-beta search
should be used to evaluate the state.
- Version:
- 0.1
User: aaron Date: Sep 24, 2006 Time: 4:05:05 PM
- Author:
- aaron@cs
Method Summary |
boolean |
shouldCutoffSearch(S theState,
int depth)
Returns whether to cut off the search from a state, and apply a heuristic evaluation instad. |
shouldCutoffSearch
boolean shouldCutoffSearch(S theState,
int depth)
- Returns whether to cut off the search from a state, and apply a heuristic evaluation instad.
- Parameters:
theState
- depth
-
- Returns:
- true if alpha-beta search should be halted, and a heuristic evaluation applied.