All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.vergne.optimization.population.Evaluator Maven / Gradle / Ivy

The newest version!
package fr.vergne.optimization.population;

/**
 * An {@link Evaluator} aims at providing a {@link Value} to an
 * {@link Individual}. The {@link Value} must be {@link Comparable} in order to
 * identify which {@link Individual} is better than another. Typical examples of
 * {@link Value}s are {@link Integer}s and {@link Double}s.
 * 
 * @author Matthieu Vergne 
 * 
 * @param 
 * @param 
 */
public interface Evaluator> {

	/**
	 * 
	 * @param individual
	 *            the {@link Individual} to evaluate
	 * @return the {@link Value} of this {@link Individual}
	 */
	public Value evaluate(Individual individual);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy