Subject: | |
From: | |
Reply To: | |
Date: | Tue, 4 Dec 2007 09:47:11 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Dec 4, 2007, at 4:23 AM, David Robert White wrote:
> If we're sharing individuals that are "good", we'd probably want to
> share those occupying niches, so these niches could then be
> explored by multiple islands. So it would be nice to separate
> standard fitness from such niching fitness measures, and have
> separate evaluation for both of them. This would allow re-
> evaluation of fitness sharing after migration, without re-
> evaluating standard fitness. Is there a nice way of doing this?
The easiest way to do this is to just use a subclass of Fitness (or
KozaFitness, etc.) that contains a separate "nichedFitness"
variable. Of course, you'll still need to update this variable
somewhere: most likely in the Breeder (or if you wish, the Evaluator).
Sean
|
|
|