org.vizzini.game.action
Interface IActionGenerator

All Known Implementing Classes:
AbstractActionGenerator, ChessActionGenerator, DefaultActionGenerator, PlaceActionGenerator

public interface IActionGenerator

Defines methods required by action generators in the game framework. An action generator instance encapsulates the information necessary to generate actions.

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

Method Summary
 void configure(Properties properties, int index)
          Configure this generator.
 Collection generate(IAgent agent, IEnvironment environment, IAdjudicator adjudicator)
          Generate the collection of legal actions using the given parameters.
 

Method Detail

configure

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

Throws:
InstantiationException
IllegalAccessException
Since:
v0.2

generate

Collection generate(IAgent agent,
                    IEnvironment environment,
                    IAdjudicator adjudicator)
Generate the collection of legal actions using the given parameters.

Parameters:
agent - The agent originating the actions.
environment - Environment.
adjudicator - Adjudicator.
Since:
v0.2


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02