/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 = 2048
# 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 = 8
# X terminal
gp.fs.0.func.0 = ac.essex.ooechs.ecj.ecj2java.example.terminals.X
gp.fs.0.func.0.nc = nc0
# Y terminal
gp.fs.0.func.1 = ac.essex.ooechs.ecj.ecj2java.example.terminals.Y
gp.fs.0.func.1.nc = nc0
# ERC
gp.fs.0.func.2 = ac.essex.ooechs.ecj.ecj2java.example.terminals.Number
gp.fs.0.func.2.nc = nc0
# Mathematical Functions
gp.fs.0.func.3 = ac.essex.ooechs.ecj.ecj2java.example.functions.Add
gp.fs.0.func.3.nc = nc2
gp.fs.0.func.4 = ac.essex.ooechs.ecj.ecj2java.example.functions.Sub
gp.fs.0.func.4.nc = nc2
gp.fs.0.func.5 = ac.essex.ooechs.ecj.ecj2java.example.functions.Mul
gp.fs.0.func.5.nc = nc2
gp.fs.0.func.6 = ac.essex.ooechs.ecj.ecj2java.example.functions.Divide
gp.fs.0.func.6.nc = nc2
gp.fs.0.func.7 = ac.essex.ooechs.ecj.ecj2java.example.functions.Sqrt
gp.fs.0.func.7.nc = nc1
# Problem Definition
eval.problem = ac.essex.ooechs.ecj.ecj2java.example.problems.MathsProblem
eval.problem.data = ac.essex.ooechs.ecj.ecj2java.example.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.ecj.ecj2java.example.data.DoubleData
# Statistics
stat = ac.essex.ooechs.ecj.ecj2java.example.util.StatisticsPrinter