Package com.garrettAndPeter.lib
-
Interface Summary Interface Description Generator<T> An interface that defines the creation of a new organims of a given typeParentPoolGenerator Outline the generation of the parent pool For simple cases, this can simply be based of the fitnesses of the organisms, but can also include other factors, such a shift in environment, or random death & other factors.Reproduce<T> A function that allows for the creation of offspring using 2 parent organisms -
Class Summary Class Description GeneticAlgorithm<Data,T> A simulation of natural selection using a genetic algorithm The Genetic Algorithm class houses the interactions of all the different organisms within an "Environment".Organism<Data> The main actors within a genetic algorithm Organisms interact and produce offspring with other organisms in order to improve the speciesProportionalGenerator A parent pool generator that creates a parent pool directly based of the fitnesses of the organisms