Package geneticWedge.gp

Provides basic Genetic Programming classes, in particular the Population and Individual classes, which represent a population of solutions and the tree-structured solutions within a population.

See:
          Description

Class Summary
AbstractPopulation AbstractPopulation is the parent of all Population objects.
Component Component is the parent class of all nodes (Functions and Terminals) within a GP tree.
Constant Constant is a type of terminal within a GP subtree.
Crossover Crossover performs crossover ('sexual' recombination) between 2 Individuals, generating 1 or 2 offspring.
DemicPopulation DemicPopulation is an extension of Population that allows only local breeding, and tournaments are perfomed within a local 'deme'.
EvaluativeStoppingCriterion An EvaluativeStoppingCriterion checks some property of the fitness function to decide whether evolution should be stopped.
FitnessShare The use of a FitnessShare object encourages diversity within a population.
FitnessStoppingCriterion A FitnessStoppingCriterion stops evolution based on some property of the FitnessFunction.
FixedGenerationsStoppingCriterion If a FixedGenerationsStoppingCriterion is used, early stopping will not occur.
Individual The Individual class represents a single tree (program).
IndividualDescriptor IndividualDescriptor holds the information required to create an Individual
Input A Terminal with a variable value.
Mutation Mutation mutates an Individual using a selection of mutation operators.
Population Population is the standard Population class.
PopulationDescriptor PopulationDescriptor holds the information required to create a Population object.
PopulationV Extends Population to include the calls to the GPDone & GPGeneration events in the evolve method, and addition of supporting methods.
StagnationStoppingCriterion StagnationStoppingCriterion stops evolution if no improvement in some measure of Fitness has occurred for some time.
StoppingCriterion A StoppingCriterion determines when evolution will stop.
Terminal Terminal is an abstract class that represents Components that should be used at leaf nodes within a tree (Individual).
Utils Utils contains a number of static methods of use to various members of the gp package.
 

Enum Summary
AbstractPopulation.FitnessFunction The FitnessFunction is used to select Individuals from a Population for breeding.
AbstractPopulation.SelectionMethod SelectionMethod determines how Individuals are selected for breeding.
FitnessShare.FitnessShareFunction FitnessShareFunction determines the shape of the fitness sharing within a niche.
FitnessShare.ShareType ShareType determines the function over which sharing is performed
IndividualDescriptor.IndividualGrowMethod Determines whether an Individual is grown by the FULL or GROW method
Mutation.MutationOperator Mutation operators should be chosen with care.
Population.PerformanceFunction PerformanceFunctions are used to create multi-objective evaluation functions.
PopulationDescriptor.PopulationGrowMethod PopulationGrowMethod determines the method used to 'grow' the Individuals within a Population
 

Exception Summary
IllegalMutationReproductionRatesException This Exception is thrown if mutation or reproduction rates are set outside the range [0,1].
InvalidFractionException This Exception is thrown if an attempt is made to set the GrpwFunctionProportion to a value outside the range [0,1].
InvalidInputSizeException This Exception is thrown if an attempt is made to calculate outputs using an inappropriately sized array of inputs.
InvalidRangeException This Exception is thrown if a range of values, such as minimum and maximum tree depths are set inappropriately.
 

Package geneticWedge.gp Description

Provides basic Genetic Programming classes, in particular the Population and Individual classes, which represent a population of solutions and the tree-structured solutions within a population.