net.sourceforge.cilib.util.selection.weighing.entity
Class SocialBestFitness
java.lang.Object
net.sourceforge.cilib.util.selection.weighing.entity.SocialBestFitness
- All Implemented Interfaces:
- EntityFitness<SocialEntity>
public class SocialBestFitness
- extends Object
- implements EntityFitness<SocialEntity>
Obtain the social best fitness value from a SocialEntity
.
- Author:
- Wiehann Matthysen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialBestFitness
public SocialBestFitness()
getFitness
public Fitness getFitness(SocialEntity entity)
- Obtain the
Fitness
of the provided entity.
Obtains the social based fitness from the SocialEntity
.
- Specified by:
getFitness
in interface EntityFitness<SocialEntity>
- Parameters:
entity
- The entity to query.
- Returns:
- The obtained
Fitness
value.
Copyright © 2009 CIRG. All Rights Reserved.