objective function: use of info not in genome, and dependence on other genomes

Martin MacRobert martin at mediavillage.org.au
Thu Nov 9 22:39:37 EST 2000


As far as extra information is concerned, you can use the userData member function in
most GALib objects to pass the data to the static function. You simply cast any pointer
to a void* and put this value into userData.

Martin


Ramon Diaz-Uriarte wrote:

> Thanks a lot for the suggestion; however, I am not sure how I can use that. If
> I understand correctly, the tournament selector is one of the mechanisms for
> selecting parents for mating.  But I have a more serious, previous, problem of
> even computing the fitness of my genomes+other vars.  I'll look into it, though.
>
> Thanks,
>
> Ramon
>
> On Tue, 07 Nov 2000, you wrote:
> > Sounds like you might need to derive a modified version of the Tournament Selector
> > that exists in GALib already.
> > Martin
> --
> Ramón Díaz-Uriarte
> Triana 47
> 28016 Madrid
> Spain
>
> email:ramon-diaz at teleline.es
> Phone: +-34-918-513-966
>        +-34-657-186-407






More information about the galib mailing list