On Mar 1, 2014, at 1:05 AM, Raymond Shpeley <[log in to unmask]> wrote:
> This is probably painfully obvious to most... How do I create a Koza list function?
> Koza had Listx, with x being the arity of the function. I'll use this for testing only
> and at this time it will be fed by ERC terminals as Sean previously suggested.
>
> I'll create 3 list functions, List16, List17, List18, and an ERC with an integer range
> of 1-26, to create trees which return either 16, 17, or 18 ints in a list. That list
> will be checked for conflict constraints, ie if 6 then not 7, producing 32 unique
> individuals. I realise Koza needed the Listx function because he was using Lisp,
> I'm just wondering how this is normally done.
I don't know what you're referring to by a listx function -- this just be a Koza III thing; at any rate, not normally used in GP.
If you want to pass a list of data between nodes, this can be done, just set up a pointer for it in your GPData object.
Sean
|