From: prasangi on
How to define fitness function of the genetic algorithm using discrete variables ?
From: Alan Weiss on
On 4/24/2010 2:01 AM, prasangi wrote:
> How to define fitness function of the genetic algorithm using discrete
> variables ?

You define the fitness function any way you like. I think what you mean
is, haw can you ensure the genetic algorithm takes only discrete values?
Here is a technical solution addressing that issue:
http://www.mathworks.com/support/solutions/en/data/1-10PDHC/

Alan Weiss
MATLAB mathematical toolbox documentation