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