Home

EvolutionaryPlus.jl

evolution(eval, pops::Int64, dim::Int64, gen::Int64)

Optimization for function 'eval' uses algorithm 'ea'.

Argument

  • 'pops': population size
  • 'dim': dimension of the problem
  • 'gen': max generation number
source

population type defination for Differential Evolutionary Algorithm

source
pop_opti(pop::Population)

return the best individual from a population

source
sample(pop::Population)

sample a new population with mutation and recombination in DE

source
selection(pop::Population, new_pop::Population)

choose a better individual between 'parent' and 'child'

source