|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvaluator
Defines methods required by evaluators in the game framework. An evaluator instance encapsulates the evaluation algorithm used to determine the fitness of a given environment. The evaluator is used by computer agents to help select their next action.
Method Summary | |
---|---|
void |
configure(Properties properties,
int index)
Configure this evaluator. |
int |
evaluate(IEnvironment environment,
IAdjudicator adjudicator,
IAgent agent)
Evaluate the given environment from the perspective of the given agent. |
Method Detail |
---|
void configure(Properties properties, int index) throws InstantiationException, IllegalAccessException
InstantiationException
IllegalAccessException
int evaluate(IEnvironment environment, IAdjudicator adjudicator, IAgent agent)
environment
- The environment to evaluate.adjudicator
- Adjudicator.agent
- The agent of interest.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |