net.sourceforge.cilib.coevolution.score.fitnesscalculation
Class TotalFitnessCalculationStrategy
java.lang.Object
net.sourceforge.cilib.coevolution.score.fitnesscalculation.FitnessCalculationStrategy
net.sourceforge.cilib.coevolution.score.fitnesscalculation.TotalFitnessCalculationStrategy
- All Implemented Interfaces:
- Serializable, Cloneable
public class TotalFitnessCalculationStrategy
- extends FitnessCalculationStrategy
the fitness is the total Fitness over all the fitness values attained in each round
- Author:
- leo
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TotalFitnessCalculationStrategy
public TotalFitnessCalculationStrategy()
TotalFitnessCalculationStrategy
public TotalFitnessCalculationStrategy(FitnessCalculationStrategy other)
calculateFitnessFromScoreBoard
public Fitness calculateFitnessFromScoreBoard(EntityScoreboard score,
int currentRound)
- Calculate the fitness from the scoreboard
- Specified by:
calculateFitnessFromScoreBoard
in class FitnessCalculationStrategy
- Parameters:
score
- the scoreboardcurrentRound
- current round of competition
- Returns:
- new fitness
getClone
public Object getClone()
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
Copyright © 2009 CIRG. All Rights Reserved.