objective function: use of info not in genome, and dependence on other genomes
Ramon Diaz-Uriarte
ramon-diaz at teleline.es
Fri Nov 10 18:38:00 EST 2000
Thank you for the hint. If I understand correctly, though, userData is data
that is common to all genomes, but I need data that will be different among
different genotypes. Harvey Peter suggested using evalData (though he
mentioned problems using GAdeme).
Ramon
On Fri, 10 Nov 2000, Martin MacRobert wrote:
> 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
--
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