net.sourceforge.cilib.games.game.scoring
Class GameScoringStrategy

java.lang.Object
  extended by net.sourceforge.cilib.games.game.scoring.GameScoringStrategy
Direct Known Subclasses:
PredatorPreyGameScoringStrategy, TetrisScoringStrategy, WinLoseDrawValueScoringStrategy

public abstract class GameScoringStrategy
extends Object

Author:
leo This class assigns a fitness to a player after a game has been played

Constructor Summary
GameScoringStrategy()
           
 
Method Summary
abstract  void assignPlayerScores(Game game)
          Assign a Fitness to each Agent after the completion of a Game
abstract  void initializeMeasurements(Game game)
          Initialize the game with the neccesary AgentMeasure's that the scoring strategy may require to calculate the Fitness for all the Agents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameScoringStrategy

public GameScoringStrategy()
Method Detail

initializeMeasurements

public abstract void initializeMeasurements(Game game)
Initialize the game with the neccesary AgentMeasure's that the scoring strategy may require to calculate the Fitness for all the Agents

Parameters:
game - the game to initilaise

assignPlayerScores

public abstract void assignPlayerScores(Game game)
Assign a Fitness to each Agent after the completion of a Game

Parameters:
game - the game object


Copyright © 2009 CIRG. All Rights Reserved.