net.sourceforge.cilib.util.selection.weighing.entity
Interface EntityFitness<E extends Entity>

Type Parameters:
E - The entity type.
All Known Implementing Classes:
CurrentFitness, SocialBestFitness

public interface EntityFitness<E extends Entity>

Obtain the fitness of an entity.

Author:
Wiehann Matthysen

Method Summary
 Fitness getFitness(E entity)
          Obtain the Fitness of the provided entity.
 

Method Detail

getFitness

Fitness getFitness(E entity)
Obtain the Fitness of the provided entity.

Parameters:
entity - The entity to query.
Returns:
The obtained Fitness value.


Copyright © 2009 CIRG. All Rights Reserved.