milliondreams / jiva-ng

Automatically exported from code.google.com/p/jiva-ng
GNU General Public License v3.0
1 stars 0 forks source link

fitness functions should be allowed to return negative values #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is an enhancement request only.

It would be good if fitness function can return negative values, for 
convenience. Otherwise, to achieve the same effect, unnecessary scaling 
would be required.

Original issue reported on code.google.com by harshad...@gmail.com on 1 Dec 2007 at 4:33

GoogleCodeExporter commented 9 years ago
Fitness values need to be non-negative to enable fitness proportional 
selection. 

If negative fitness values are allowed, Jiva has to do the scaling to convert 
the
negative values to non-negative ones; unfortunately, there is no easy way for 
Jiva to
know how to do this scaling. 

So: non-negative fitness values are not allowed.

Original comment by pant.la...@gmail.com on 1 Dec 2007 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by pant.la...@gmail.com on 1 Dec 2007 at 6:35

GoogleCodeExporter commented 9 years ago
Oh! I thought, jiva only does a comparison of fitness values, in which case the 
sign
of the fitness value wouldn't matter..

Original comment by harshad...@gmail.com on 1 Dec 2007 at 6:47