net.sourceforge.cilib.util.selection.weighting.EntityFitness Maven / Gradle / Ivy
/** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.util.selection.weighting;
import net.sourceforge.cilib.entity.Entity;
import net.sourceforge.cilib.problem.solution.Fitness;
/**
* Obtain the fitness of an entity.
* @param The entity type.
*/
public interface EntityFitness {
/**
* Obtain the {@code Fitness} of the provided entity.
* @param entity The entity to query.
* @return The obtained {@link Fitness} value.
*/
Fitness getFitness(E entity);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy