[galib] How to define a population based objective function?

RPrasad raghavendraprasad.nl at gmail.com
Wed Sep 28 01:35:49 EDT 2005


Hello friends,
I am working on a research project.
 I have a genome type GA2DBinaryStringGenome genome(1, n); //Specific reason
to use this kind of genome
For n=5, each genome will look like this
1
0
0
1
1
GASteadyStateGA ga(genome); // creating genetic algorithm object
ga.populationSize(5); // I want to invoke the population based objective
function at this point
 Now the population will look something like this
  10101
01101
01001
10110
00110
 Now I want to define a objective function for this population. How to
create a population-based objective function?
Please send me any code that might give a insight into this.
  Thanks N Regards
Raghavendra Prasad NL
RaghavendraPrasad.NL at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20050928/088999bb/attachment.htm


More information about the galib mailing list