|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateEvaluator
Method Summary | |
---|---|
double |
evaluateState(Game<GameState> state,
int decisionPlayerID)
Evaluate a given GameState for a given player ID. |
DomainRegistry |
getEvaluatorDomain()
If the evaluator can be optimized then the evaluator data should be in a specific domain, this function should return that domain |
void |
initializeEvaluator(Type evaluatorData)
Some state evaluators can be optimised, and therefore the evaluator should be initialized with evaluator specific data. |
Method Detail |
---|
double evaluateState(Game<GameState> state, int decisionPlayerID)
state
- the Game object that is at a specific state that needs to be evaluateddecisionPlayerID
- The player that has to make a decision
void initializeEvaluator(Type evaluatorData)
evaluatorData
- the data that determines how the evaluator should funcitonDomainRegistry getEvaluatorDomain()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |