Subject: | |
From: | |
Reply To: | |
Date: | Fri, 10 Feb 2006 01:24:34 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
It means you didn't specify a GPNodeConstraints class. You don't get
this warning for constraints 0 through 6 because ec/gp/koza/
koza.params defines constraint classes for nc.0 through nc.6. Add this:
gp.nc.7 = ec.gp.GPNodeConstraints
gp.nc.8 = ec.gp.GPNodeConstraints
Sean
On Feb 9, 2006, at 9:45 PM, Robert Baruch wrote:
> Hi all,
>
> I'm running a GP problem, but I'm getting "No GP Node Constraints
> specified" messages for node constraints gc.nc.7 and gc.nc.8.
> Here's the beginning of my problem params file:
>
>
> parent.0 = ../../ecj13/ec/gp/koza/koza.params
>
> seed.0 = time
>
> # The types
>
> gp.type.a.size = 4
> gp.type.a.0.name = bool
> gp.type.a.1.name = piece
> gp.type.a.2.name = type
> gp.type.a.3.name = town
> gp.type.s.size = 0
>
> # The node constraints
>
> gp.nc.size = 9
>
> gp.nc.0.name = boolOp2
> gp.nc.0.returns = bool
> gp.nc.0.size = 2
> gp.nc.0.child.0 = bool
> gp.nc.0.child.1 = bool
>
> gp.nc.1.name = pieceOp
> gp.nc.1.returns = bool
> gp.nc.1.size = 1
> gp.nc.1.child.0 = piece
>
> gp.nc.2.name = pieceTerminal
> gp.nc.2.returns = piece
> gp.nc.2.size = 0
>
> gp.nc.3.name = boolTerminal
> gp.nc.3.returns = bool
> gp.nc.3.size = 0
>
> gp.nc.4.name = typeTerminal
> gp.nc.4.returns = type
> gp.nc.4.size = 0
>
> gp.nc.5.name = pieceOp2
> gp.nc.5.returns = bool
> gp.nc.5.size = 2
> gp.nc.5.child.0 = piece
> gp.nc.5.child.1 = type
>
> gp.nc.6.name = boolOp1
> gp.nc.6.returns = bool
> gp.nc.6.size = 1
> gp.nc.6.child.0 = bool
>
> gp.nc.7.name = townTerminal
> gp.nc.7.returns = town
> gp.nc.7.size = 0
>
> gp.nc.8.name = townTypeToBoolOp
> gp.nc.8.returns = bool
> gp.nc.8.size = 2
> gp.nc.8.child.0 = town
> gp.nc.8.child.1 = type
>
>
> And here's the output when I run the problem:
>
> | ECJ
> | An evolutionary computation system (version 13)
> | By Sean Luke
> | Contributors: L. Panait, G. Balan, S. Paus, Z. Skolicki,
> | J. Bassett, R. Hubley, and A. Chircop
> | URL: http://cs.gmu.edu/~eclab/projects/ecj/
> | Mail: [log in to unmask]
> | (better: join ECJ-INTEREST at URL above)
> | Date: June 25, 2005
> | Current Java: 1.5.0_05 / Java HotSpot(TM) Client VM-1.5.0_05-48
> | Required Minimum Java: 1.2
>
>
> Threads: breed/1 eval/1
> Seed: 1373068377
> Job: 0
> Setting up
> Processing GP Types
> Processing GP Node Constraints
> No GP Node Constraints specified, assuming the default class:
> ec.gp.GPNodeConstraints for gp.nc.7
> No GP Node Constraints specified, assuming the default class:
> ec.gp.GPNodeConstraints for gp.nc.8
> Processing GP Function Sets
> Processing GP Tree Constraints
>
>
> The problem runs, but why am I getting these warnings?
>
> Thanks,
>
> --Rob
|
|
|