net.sourceforge.cilib.coevolution.score.fitnesscalculation
Class FitnessCalculationStrategy
java.lang.Object
net.sourceforge.cilib.coevolution.score.fitnesscalculation.FitnessCalculationStrategy
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- AveFitnessCalculationStrategy, PercentageWonFitnessCalculationStrategy, TotalFitnessCalculationStrategy
public abstract class FitnessCalculationStrategy
- extends Object
- implements Cloneable
- Author:
- leo
Defines how fitness values stored in the scoreboard are combined to get a single fitness value
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitnessCalculationStrategy
public FitnessCalculationStrategy()
FitnessCalculationStrategy
public FitnessCalculationStrategy(FitnessCalculationStrategy other)
calculateFitnessFromScoreBoard
public abstract Fitness calculateFitnessFromScoreBoard(EntityScoreboard score,
int currentRound)
- Calculate the fitness from the scoreboard
- Parameters:
score
- the scoreboardcurrentRound
- current round of competition
- Returns:
- new fitness
getAmountHistoricGames
public int getAmountHistoricGames()
setAmountHistoricGames
public void setAmountHistoricGames(int amountHistoricGames)
Copyright © 2009 CIRG. All Rights Reserved.