/home/ooechs/Ecj2Java/src/ac/essex/ooechs/ecj/ecj2java/example/example.params
|
# Inherit from ECJ default Koza Parameters
parent.0 = /home/ooechs/ecj/ec/gp/koza/koza.params
# Evaluate a megalot of individuals
generations = 1024
pop.subpop.0.size = 1024
# Make sure the tree is small
# Crossover will use Tournament Selection, try only 1
# time, have a max depth of 17, and use KozaNodeSelector
gp.koza.xover.source.0 = ec.select.TournamentSelection
gp.koza.xover.source.1 = same
gp.koza.xover.ns.0 = ec.gp.koza.KozaNodeSelector
gp.koza.xover.ns.1 = same
gp.koza.xover.maxdepth = 5
# This is the default for Koza and lil-gp, though it's
# a little wimpy; on the other hand, a higher number can
# make things really slow
gp.koza.xover.tries = 1
# Point Mutation will use Tournament Selection, try only 1
# time, have a max depth of 17, and use KozaNodeSelector
# and GROW for building. Also, Point Mutation uses a GrowBuilder
# by default, with a default of min-depth=max-depth=5
# as shown a ways below
gp.koza.mutate.source.0 = ec.select.TournamentSelection
gp.koza.mutate.ns.0 = ec.gp.koza.KozaNodeSelector
gp.koza.mutate.build.0 = ec.gp.koza.GrowBuilder
gp.koza.mutate.maxdepth = 5
# This is the default for Koza and lil-gp, though it's
# a little wimpy; on the other hand, a higher number can
# make things really slow
gp.koza.mutate.tries = 1
# 5 Functions available
gp.fs.0.size = 5
# X terminal
gp.fs.0.func.0 = ac.essex.ooechs.ecj2java.example.terminals.X
gp.fs.0.func.0.nc = nc0
# ERC
gp.fs.0.func.1 = ac.essex.ooechs.ecj2java.example.terminals.Number
gp.fs.0.func.1.nc = nc0
# Mathematical Functions
# These functions are common functions from the common-functions library.
gp.fs.0.func.2 = ac.essex.ooechs.functions.maths.Add
gp.fs.0.func.2.nc = nc2
gp.fs.0.func.3 = ac.essex.ooechs.functions.maths.Sub
gp.fs.0.func.3.nc = nc2
gp.fs.0.func.4 = ac.essex.ooechs.functions.maths.Mul
gp.fs.0.func.4.nc = nc2
gp.fs.0.func.5 = ac.essex.ooechs.functions.maths.Divide
gp.fs.0.func.5.nc = nc2
# Problem Definition
eval.problem = ac.essex.ooechs.ecj2java.example.problem.MathsProblem
eval.problem.data = ac.essex.ooechs.functions.data.DoubleData
# The following should almost *always* be the same as eval.problem.data
# For those who are interested, it defines the data object used internally
# inside ADF stack contexts
eval.problem.stack.context.data = ac.essex.ooechs.functions.data.DoubleData
# Statistics
stat = ac.essex.ooechs.util.StatisticsPrinter