Uses of Class
com.epochx.representation.CandidateProgram

Packages that use CandidateProgram
com.epochx.core   
com.epochx.life   
com.epochx.model.ant   
com.epochx.model.majority   
com.epochx.model.multiplexer   
com.epochx.model.parity   
com.epochx.model.regression   
com.epochx.op.crossover   
com.epochx.op.initialisation   
com.epochx.op.mutation   
com.epochx.op.selection   
com.epochx.representation   
com.epochx.stats   
 

Uses of CandidateProgram in com.epochx.core
 

Methods in com.epochx.core that return CandidateProgram
 CandidateProgram<TYPE>[] GPCrossover.crossover()
          Selects two parents by calling getProgramSelector() on the instance of GPModel given at construction and submits them to the Crossover operator which is obtained by calling getCrossover() on the model.
 CandidateProgram<TYPE> GPRun.getBestProgram()
          Retrieve the CandidateProgram with the best fitness found during the run.
 CandidateProgram<TYPE> GPMutation.mutate()
          Selects a CandidateProgram from the population using the ProgramSelector returned by a call to getProgramSelector() on the model given at construction and submits it to the Mutation operator which is obtained by calling getMutation() on the model.
 CandidateProgram<TYPE>[] GPAbstractModel.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Called after selection and crossover of 2 individuals.
 CandidateProgram<TYPE> GPAbstractModel.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Called after selection and mutation of an individual program.
 CandidateProgram<TYPE> GPAbstractModel.onReproduction(CandidateProgram<TYPE> child)
          Called after selection of an individual to be reproduced into the next generation.
 CandidateProgram<TYPE> GPReproduction.reproduce()
          Selects a CandidateProgram from the population using the ProgramSelector returned by a call to getProgramSelector() on the model given at construction.
 

Methods in com.epochx.core that return types with arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> GPGeneration.generation(java.util.List<CandidateProgram<TYPE>> previousPop)
           
 java.util.List<CandidateProgram<TYPE>> GPElitism.getElites(java.util.List<CandidateProgram<TYPE>> pop)
          Gets the best CandidatePrograms from the given population and returns them.
 java.util.List<CandidateProgram<TYPE>> GPPoolSelection.getPool(java.util.List<CandidateProgram<TYPE>> pop)
           
 java.util.List<CandidateProgram<TYPE>> GPInitialisation.initialise()
          Initialises a new population of CandidatePrograms by calling getInitialPopulation() on the initialiser provided by the model.
 java.util.List<CandidateProgram<TYPE>> GPAbstractModel.onElitism(java.util.List<CandidateProgram<TYPE>> elites)
          Called after selection of elites.
 java.util.List<CandidateProgram<TYPE>> GPAbstractModel.onInitialisation(java.util.List<CandidateProgram<TYPE>> pop)
          Called after initialisation.
 java.util.List<CandidateProgram<TYPE>> GPAbstractModel.onPoolSelection(java.util.List<CandidateProgram<TYPE>> pool)
          Called after selection of the breeding pool.
 

Methods in com.epochx.core with parameters of type CandidateProgram
 boolean GPAbstractModel.acceptCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Default implementation which accepts all crossovers.
 boolean GPAbstractModel.acceptCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Default implementation which accepts all crossovers.
 boolean GPModel.acceptCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          This method will be called during each crossover operation before the crossover is accepted, giving the model the opportunity to reject the operation, in which case the operation will be attempted again until it is accepted.
 boolean GPModel.acceptCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          This method will be called during each crossover operation before the crossover is accepted, giving the model the opportunity to reject the operation, in which case the operation will be attempted again until it is accepted.
 boolean GPAbstractModel.acceptMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Default implementation which accepts all mutations.
 boolean GPAbstractModel.acceptMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Default implementation which accepts all mutations.
 boolean GPModel.acceptMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          This method will be called during each mutation operation before the mutation is accepted, giving the model the opportunity to reject the operation, in which case the operation will be attempted again until it is accepted.
 boolean GPModel.acceptMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          This method will be called during each mutation operation before the mutation is accepted, giving the model the opportunity to reject the operation, in which case the operation will be attempted again until it is accepted.
 double GPModel.getFitness(CandidateProgram<TYPE> program)
          Calculates and returns the fitness score of the given program.
 CandidateProgram<TYPE>[] GPAbstractModel.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Called after selection and crossover of 2 individuals.
 CandidateProgram<TYPE>[] GPAbstractModel.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Called after selection and crossover of 2 individuals.
 CandidateProgram<TYPE> GPAbstractModel.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Called after selection and mutation of an individual program.
 CandidateProgram<TYPE> GPAbstractModel.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Called after selection and mutation of an individual program.
 CandidateProgram<TYPE> GPAbstractModel.onReproduction(CandidateProgram<TYPE> child)
          Called after selection of an individual to be reproduced into the next generation.
 

Method parameters in com.epochx.core with type arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> GPGeneration.generation(java.util.List<CandidateProgram<TYPE>> previousPop)
           
 java.util.List<CandidateProgram<TYPE>> GPElitism.getElites(java.util.List<CandidateProgram<TYPE>> pop)
          Gets the best CandidatePrograms from the given population and returns them.
 java.util.List<CandidateProgram<TYPE>> GPPoolSelection.getPool(java.util.List<CandidateProgram<TYPE>> pop)
           
 java.util.List<CandidateProgram<TYPE>> GPAbstractModel.onElitism(java.util.List<CandidateProgram<TYPE>> elites)
          Called after selection of elites.
 java.util.List<CandidateProgram<TYPE>> GPAbstractModel.onInitialisation(java.util.List<CandidateProgram<TYPE>> pop)
          Called after initialisation.
 java.util.List<CandidateProgram<TYPE>> GPAbstractModel.onPoolSelection(java.util.List<CandidateProgram<TYPE>> pool)
          Called after selection of the breeding pool.
 

Uses of CandidateProgram in com.epochx.life
 

Methods in com.epochx.life that return CandidateProgram
 CandidateProgram<TYPE>[] LifeCycleManager.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
           
 CandidateProgram<TYPE>[] CrossoverListener.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Called after selection and crossover of 2 individuals.
 CandidateProgram<TYPE> MutationListener.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Called after selection and mutation of an individual program.
 CandidateProgram<TYPE> LifeCycleManager.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
           
 CandidateProgram<TYPE> ReproductionListener.onReproduction(CandidateProgram<TYPE> child)
          Called after selection of an individual to be reproduced into the next generation.
 CandidateProgram<TYPE> LifeCycleManager.onReproduction(CandidateProgram<TYPE> child)
           
 

Methods in com.epochx.life that return types with arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> LifeCycleManager.onElitism(java.util.List<CandidateProgram<TYPE>> elites)
           
 java.util.List<CandidateProgram<TYPE>> ElitismListener.onElitism(java.util.List<CandidateProgram<TYPE>> elites)
          Called after selection of elites.
 java.util.List<CandidateProgram<TYPE>> LifeCycleManager.onInitialisation(java.util.List<CandidateProgram<TYPE>> pop)
           
 java.util.List<CandidateProgram<TYPE>> InitialisationListener.onInitialisation(java.util.List<CandidateProgram<TYPE>> pop)
          Called after initialisation.
 java.util.List<CandidateProgram<TYPE>> PoolSelectionListener.onPoolSelection(java.util.List<CandidateProgram<TYPE>> pool)
          Called after selection of the breeding pool.
 java.util.List<CandidateProgram<TYPE>> LifeCycleManager.onPoolSelection(java.util.List<CandidateProgram<TYPE>> pool)
           
 

Methods in com.epochx.life with parameters of type CandidateProgram
 CandidateProgram<TYPE>[] LifeCycleManager.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
           
 CandidateProgram<TYPE>[] LifeCycleManager.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
           
 CandidateProgram<TYPE>[] CrossoverListener.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Called after selection and crossover of 2 individuals.
 CandidateProgram<TYPE>[] CrossoverListener.onCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children)
          Called after selection and crossover of 2 individuals.
 CandidateProgram<TYPE> MutationListener.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Called after selection and mutation of an individual program.
 CandidateProgram<TYPE> MutationListener.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
          Called after selection and mutation of an individual program.
 CandidateProgram<TYPE> LifeCycleManager.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
           
 CandidateProgram<TYPE> LifeCycleManager.onMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child)
           
 CandidateProgram<TYPE> ReproductionListener.onReproduction(CandidateProgram<TYPE> child)
          Called after selection of an individual to be reproduced into the next generation.
 CandidateProgram<TYPE> LifeCycleManager.onReproduction(CandidateProgram<TYPE> child)
           
 

Method parameters in com.epochx.life with type arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> LifeCycleManager.onElitism(java.util.List<CandidateProgram<TYPE>> elites)
           
 java.util.List<CandidateProgram<TYPE>> ElitismListener.onElitism(java.util.List<CandidateProgram<TYPE>> elites)
          Called after selection of elites.
 java.util.List<CandidateProgram<TYPE>> LifeCycleManager.onInitialisation(java.util.List<CandidateProgram<TYPE>> pop)
           
 java.util.List<CandidateProgram<TYPE>> InitialisationListener.onInitialisation(java.util.List<CandidateProgram<TYPE>> pop)
          Called after initialisation.
 java.util.List<CandidateProgram<TYPE>> PoolSelectionListener.onPoolSelection(java.util.List<CandidateProgram<TYPE>> pool)
          Called after selection of the breeding pool.
 java.util.List<CandidateProgram<TYPE>> LifeCycleManager.onPoolSelection(java.util.List<CandidateProgram<TYPE>> pool)
           
 

Uses of CandidateProgram in com.epochx.model.ant
 

Methods in com.epochx.model.ant with parameters of type CandidateProgram
 double SantaFeTrail.getFitness(CandidateProgram<Action> program)
           
 

Uses of CandidateProgram in com.epochx.model.majority
 

Methods in com.epochx.model.majority with parameters of type CandidateProgram
 double Majority9.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 double Majority5.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 

Uses of CandidateProgram in com.epochx.model.multiplexer
 

Methods in com.epochx.model.multiplexer with parameters of type CandidateProgram
 double Multiplexer6Bit.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 double Multiplexer37Bit.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 double Multiplexer20Bit.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 double Multiplexer11Bit.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 

Uses of CandidateProgram in com.epochx.model.parity
 

Methods in com.epochx.model.parity with parameters of type CandidateProgram
 double Even7Parity.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 double Even5Parity.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 double Even4Parity.getFitness(CandidateProgram<java.lang.Boolean> program)
           
 

Uses of CandidateProgram in com.epochx.model.regression
 

Methods in com.epochx.model.regression with parameters of type CandidateProgram
 double QuarticRegression.getFitness(CandidateProgram<java.lang.Double> program)
           
 double CubicRegression.getFitness(CandidateProgram<java.lang.Double> program)
           
 

Uses of CandidateProgram in com.epochx.op.crossover
 

Methods in com.epochx.op.crossover that return CandidateProgram
 CandidateProgram<TYPE>[] UniformPointCrossover.crossover(CandidateProgram<TYPE> program1, CandidateProgram<TYPE> program2)
          Crossover the two CandidatePrograms provided as arguments using uniform swap points.
 CandidateProgram<TYPE>[] KozaCrossover.crossover(CandidateProgram<TYPE> program1, CandidateProgram<TYPE> program2)
          Crossover the two CandidatePrograms provided as arguments using Koza crossover.
 CandidateProgram<TYPE>[] Crossover.crossover(CandidateProgram<TYPE> parent1, CandidateProgram<TYPE> parent2)
          Implementations should perform some form of exchange of material between the two children, returning the resultant children.
 

Methods in com.epochx.op.crossover with parameters of type CandidateProgram
 CandidateProgram<TYPE>[] UniformPointCrossover.crossover(CandidateProgram<TYPE> program1, CandidateProgram<TYPE> program2)
          Crossover the two CandidatePrograms provided as arguments using uniform swap points.
 CandidateProgram<TYPE>[] UniformPointCrossover.crossover(CandidateProgram<TYPE> program1, CandidateProgram<TYPE> program2)
          Crossover the two CandidatePrograms provided as arguments using uniform swap points.
 CandidateProgram<TYPE>[] KozaCrossover.crossover(CandidateProgram<TYPE> program1, CandidateProgram<TYPE> program2)
          Crossover the two CandidatePrograms provided as arguments using Koza crossover.
 CandidateProgram<TYPE>[] KozaCrossover.crossover(CandidateProgram<TYPE> program1, CandidateProgram<TYPE> program2)
          Crossover the two CandidatePrograms provided as arguments using Koza crossover.
 CandidateProgram<TYPE>[] Crossover.crossover(CandidateProgram<TYPE> parent1, CandidateProgram<TYPE> parent2)
          Implementations should perform some form of exchange of material between the two children, returning the resultant children.
 CandidateProgram<TYPE>[] Crossover.crossover(CandidateProgram<TYPE> parent1, CandidateProgram<TYPE> parent2)
          Implementations should perform some form of exchange of material between the two children, returning the resultant children.
 

Uses of CandidateProgram in com.epochx.op.initialisation
 

Methods in com.epochx.op.initialisation that return types with arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> RampedHalfAndHalfInitialiser.getInitialPopulation()
          Will use grow initialisation on half the population and full on the other half.
 java.util.List<CandidateProgram<TYPE>> Initialiser.getInitialPopulation()
          Construct and return an initial population of CandidatePrograms.
 java.util.List<CandidateProgram<TYPE>> GrowInitialiser.getInitialPopulation()
          Generate a population of new CandidatePrograms constructed from the function and terminal sets defined by the model.
 java.util.List<CandidateProgram<TYPE>> FullInitialiser.getInitialPopulation()
          Generate a population of new CandidatePrograms constructed from the function and terminal sets defined by the model.
 

Uses of CandidateProgram in com.epochx.op.mutation
 

Methods in com.epochx.op.mutation that return CandidateProgram
 CandidateProgram<TYPE> SubtreeMutation.mutate(CandidateProgram<TYPE> program)
          Perform subtree mutation on the given CandidateProgram.
 CandidateProgram<TYPE> PointMutation.mutate(CandidateProgram<TYPE> program)
          Perform point mutation on the given CandidateProgram.
 CandidateProgram<TYPE> Mutation.mutate(CandidateProgram<TYPE> program)
          Implementations should perform some form of alteration to the genetic material of the given CandidateProgram, returning the resultant program.
 

Methods in com.epochx.op.mutation with parameters of type CandidateProgram
 CandidateProgram<TYPE> SubtreeMutation.mutate(CandidateProgram<TYPE> program)
          Perform subtree mutation on the given CandidateProgram.
 CandidateProgram<TYPE> PointMutation.mutate(CandidateProgram<TYPE> program)
          Perform point mutation on the given CandidateProgram.
 CandidateProgram<TYPE> Mutation.mutate(CandidateProgram<TYPE> program)
          Implementations should perform some form of alteration to the genetic material of the given CandidateProgram, returning the resultant program.
 

Uses of CandidateProgram in com.epochx.op.selection
 

Methods in com.epochx.op.selection that return CandidateProgram
 CandidateProgram<TYPE> TournamentSelector.getProgram()
          Randomly creates a tournament, then selects the candidate program with the best fitness from that tournament.
 CandidateProgram<TYPE> RandomSelector.getProgram()
          Randomly chooses and returns a program from the population with no bias.
 CandidateProgram<TYPE> ProgramSelector.getProgram()
          Select a CandidateProgram from the current population of programs.
 CandidateProgram<TYPE> LinearRankSelector.getProgram()
          Selects a candidate program from the population using the probabilities which were assigned based on fitness rank.
 

Methods in com.epochx.op.selection that return types with arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> TournamentSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Constructs a pool of programs from the population, choosing each one with the program selection element of TournamentSelector.
 java.util.List<CandidateProgram<TYPE>> RandomSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Randomly chooses programs from the given population up to a total of poolSize and returns them as a list.
 java.util.List<CandidateProgram<TYPE>> PoolSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Select a CandidateProgram from the current population of programs.
 java.util.List<CandidateProgram<TYPE>> LinearRankSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Constructs a pool of programs from the population, choosing each one with the program selection element of LinearRankSelector.
 

Method parameters in com.epochx.op.selection with type arguments of type CandidateProgram
 java.util.List<CandidateProgram<TYPE>> TournamentSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Constructs a pool of programs from the population, choosing each one with the program selection element of TournamentSelector.
 java.util.List<CandidateProgram<TYPE>> RandomSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Randomly chooses programs from the given population up to a total of poolSize and returns them as a list.
 java.util.List<CandidateProgram<TYPE>> PoolSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Select a CandidateProgram from the current population of programs.
 java.util.List<CandidateProgram<TYPE>> LinearRankSelector.getPool(java.util.List<CandidateProgram<TYPE>> pop, int poolSize)
          Constructs a pool of programs from the population, choosing each one with the program selection element of LinearRankSelector.
 void TournamentSelector.setSelectionPool(java.util.List<CandidateProgram<TYPE>> pop)
          Store the population for creating tournaments from.
 void RandomSelector.setSelectionPool(java.util.List<CandidateProgram<TYPE>> pop)
          This method should only be called by the GP system.
 void ProgramSelector.setSelectionPool(java.util.List<CandidateProgram<TYPE>> pop)
          The GP system will call this method at the start of every generation to provide the selector with the population from which selections should be made.
 void LinearRankSelector.setSelectionPool(java.util.List<CandidateProgram<TYPE>> pop)
          Sets the population from which programs will be selected.
 

Uses of CandidateProgram in com.epochx.representation
 

Methods in com.epochx.representation with parameters of type CandidateProgram
 int CandidateProgram.compareTo(CandidateProgram<TYPE> o)
          Compares this program to another based upon fitness.
 

Uses of CandidateProgram in com.epochx.stats
 

Methods in com.epochx.stats with parameters of type CandidateProgram
 void CrossoverStats.addCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children, long runtime, int reversions)
           
 void CrossoverStats.addCrossover(CandidateProgram<TYPE>[] parents, CandidateProgram<TYPE>[] children, long runtime, int reversions)
           
 void MutationStats.addMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child, long runtime, int reversions)
           
 void MutationStats.addMutation(CandidateProgram<TYPE> parent, CandidateProgram<TYPE> child, long runtime, int reversions)
           
 

Method parameters in com.epochx.stats with type arguments of type CandidateProgram
 void GenerationStats.addGen(java.util.List<CandidateProgram<TYPE>> pop, int gen)