org.vizzini.game
Interface IEvaluator

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractEvaluator, AbstractNeuralGridBoardEvaluator, AbstractNeuralNetworkEvaluator, DefaultChessEvaluator, DefaultEvaluator, GPFunctionEvaluator, NeuralNetworkEvaluator, TokenLineEvaluator, WeightedEvaluator

public interface IEvaluator
extends Serializable

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.

Since:
v0.1
Version:
v0.1
Author:
Jeffrey M. Thompson

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

configure

void configure(Properties properties,
               int index)
               throws InstantiationException,
                      IllegalAccessException
Configure this evaluator.

Throws:
InstantiationException
IllegalAccessException
Since:
v0.1

evaluate

int evaluate(IEnvironment environment,
             IAdjudicator adjudicator,
             IAgent agent)
Evaluate the given environment from the perspective of the given agent.

Parameters:
environment - The environment to evaluate.
adjudicator - Adjudicator.
agent - The agent of interest.
Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02