Skip to content

ALPS Configuration

Anthony Awuley edited this page May 1, 2016 · 3 revisions

Only alps related changes are discussed. For full descrption of all related parameters, see tutorial4 of the ECJ system

  • parent.0 = ../../../../gp/koza/koza.params
  • #ALPS configuration
  • parent.1 = ../../../../alps/alps.params
  • quit-on-run-complete = false
  • #jobs specifies the number of runs you would wish to perform
  • state = ec.alps.GenEvolutionState
  • exch = ec.simple.SimpleExchanger
  • breed = ec.alps.ALPSBreeder
  • eval = ec.alps.ALPSEvaluator
  • stat = ec.alps.statistics.ALPSStatistics

FUNCTION SETS

  • #We have one function set, of class GPFunctionSet
  • gp.fs.size = 1
  • gp.fs.0 = ec.gp.GPFunctionSet
  • #We'll call the function set "f0".
  • gp.fs.0.name = f0
  • #We have five functions in the function set. They are:
  • gp.fs.0.size = 5

Content of directory = ../../../../alps/alps.params

jobs specifies the number of runs you would wish to perform

  • state = ec.alps.GenEvolutionState
  • breed = ec.alps.ALPSBreeder
  • eval = ec.alps.ALPSEvaluator
  • stat = ec.alps.statistics.ALPSStatistics
  • alps.age-gap = 5
  • alps.number-of-layers = 5
  • alps.number-of-evaluations = 2000
  • alps.selection-pressure = 0.8
  • alps.tournament-size = 4
  • alps.aging-scheme = ec.alps.layers.agingscheme.Polynomial
  • alps.layer-replacement = ec.alps.layers.replacement.ReverseTournamentWorst
  • alps.assign-max-parent-age = true

when using selection pressure, individual aging isnt uniform especially when parents are selected from lower layer. When some individuals are aged faster than others, a population will contain less than expected required number ECJ by default breeds a maximum of the number of populations contained in a population.

  • alps.always-breed-maximum-population = true

when true, only individuals selected from breeding from current layer have their age increased else both both individuals coming from current and lower layer used as parents will have their age increased

  • alps.age-only-current-layer = true

when moving old individuals from bottom layer to next higher layer, use this flag to determine replacement strategy in higher layer. if false lower layer individual only replace higher layer tournament individual if its fitness is better that of the higher layer tournament individual. if true, selected tournament individual from higher layer is always replaced

  • alps.layer-replacement.replace-weakest = true
  • pop.subpop.0.species.pipe = ec.alps.gp.ALPSMultiBreedingPipeline
  • pop.subpop.0.species.pipe.num-sources = 2
  • pop.subpop.0.species.pipe.source.0 = ec.alps.gp.breed.Crossover

  • pop.subpop.0.species.pipe.source.1 = ec.alps.gp.breed.Mutation
  • pop.subpop.0.species.pipe.source.0.source.0 = ec.select.TournamentSelection

Clone this wiki locally