net.sourceforge.cilib.games.game.scoring
Class GameScoringStrategy
java.lang.Object
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
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 |
GameScoringStrategy
public GameScoringStrategy()
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.