You get all chromosomes through the Population parameter.
For each IChromosome, you can access all of its genes, so you can calculate fitness.
In single-objective optimization, you then set calculated fitness directly into IChromosome.setFitnessValue(double).
In multi-objective optimization you first calculate fitness for each objetive and then cross results from all objectives of all chromosomes to calculate fitness for each chromosome. Then set them all into each chromosome’s setFitnessValue(double) methods.
BulkFitnessFunction instance is passed to Configuration.setBulkFitnessFunction method. The rest is like the examples in JGAP’s site.
Sent: Saturday, August 03, 2013 7:35 AM
Subject: Re: [jgap-users] Does JGAP support multi objective optimization
Thanks for the reply is there any examples available to get the hang of it. Eg:- BulkFintessFunctio.evaluate method?

From: Mauricio Noda <>
To: Jason De silva <>; "" <>
Sent: Wednesday, July 31, 2013 9:50 PM
Subject: RE: [jgap-users] Does JGAP support multi objective optimization
JGAP doesn´t have NSGA-II. But you can extend it by adding multi-objective logic inside BulkFitnessFunction.evaluate method.

Date: Sun, 28 Jul 2013 03:13:16 -0700
Subject: [jgap-users] Does JGAP support multi objective optimization

Hi, i am new to Genetic algorithms and i found that jgap is a resourceful library how ever i fail to find the documentation regarding NSGAII which im planning to use to solve a multi objective optimization problem. Please help me out
Thank you

------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out.
_______________________________________________ jgap-users mailing list