Hi All,
gp.type.a.size = 4
gp.type.a.0.name = nil # This one might not be necessary
gp.type.a.1.name = rule
gp.type.a.2.name = and
gp.type.a.3.name = or
gp.type.s.size = 0
gp.tc.0.returns = and
gp.nc.size = 10
#--------------------#
gp.nc.7 = ec.gp.GPNodeConstraints
gp.nc.7.name = ncAND
gp.nc.7.returns = and
gp.nc.7.size = 2
gp.nc.7.child.0 = rule
gp.nc.7.child.1 = or
#--------------------#
gp.nc.8 = ec.gp.GPNodeConstraints
gp.nc.8.name = ncRULE
gp.nc.8.returns = rule
gp.nc.8.size = 0
#--------------------#
gp.nc.9 = ec.gp.GPNodeConstraints
gp.nc.9.name = ncOR
gp.nc.9.returns = or
gp.nc.9.size = 2
gp.nc.9.child.0 = rule
gp.nc.9.child.1 = and
gp.fs.0.func.0 = ec.app.gp.ossimRuleGeneration.func.Or
gp.fs.0.func.0.nc = ncOR
gp.fs.0.func.1 = ec.app.gp.ossimRuleGeneration.func.rule
gp.fs.0.func.1.nc = ncRULE
gp.fs.0.func.2 = ec.app.gp.ossimRuleGeneration.func.And
gp.fs.0.func.2.nc = ncAND
Hello!
First of all, thanks for reading.
I need to add some Constraints to my GP program so each function that I have can only accept a specific subset of children. For this, should specify this on the params files or I have to add some checks on the checkConstraints method for each GPNode.
Does anybody know an example on the web about this that I can follow?
Thanks in advance.