net.sourceforge.cilib.coevolution
Class FitnessSharingStrategy
java.lang.Object
net.sourceforge.cilib.coevolution.FitnessSharingStrategy
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- StandardFitnessSharingStrategy
public abstract class FitnessSharingStrategy
- extends Object
- implements Cloneable
- Author:
- Julien Duhain
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitnessSharingStrategy
public FitnessSharingStrategy()
modifyFitness
public abstract Fitness modifyFitness(CoevolutionAlgorithm ca,
Entity ent)
- modifies the fitness of the entity according to a specific fitness sharing strategy.
- Parameters:
CoevolutionAlgorithm
- ent
- Entity whose fitness is to be calculated
- Returns:
- the fitness of the entity
getClone
public abstract FitnessSharingStrategy getClone()
- Description copied from interface:
Cloneable
- 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.
- Specified by:
getClone
in interface Cloneable
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
Copyright © 2009 CIRG. All Rights Reserved.