001 package aima.search.informed.ga; 002 003 /** 004 * Interface representing a fitness function used by the GeneticAlgorithm 005 * to determine the fitness of individuals within the population being 006 * evolved. 007 */ 008 009 /** 010 * @author Ciaran O'Reilly 011 * 012 */ 013 public interface FitnessFunction { 014 Double getValue(String individual); 015 }