Hi John,

You need to implement your own fitness calculating function (which extends class FitnessFunction). For every generation, you can get the fittest chromosome by calling getFittestChromosome() in class Genotype, then do comparing the fittest chromosome with your desired output. You can also get all the chromosomes in population (Genotype object) in every generation by accessing Genotype.

Hope this would help.

Best,
Phi Vu


On Tue, Oct 15, 2013 at 12:39 PM, John Lennon <johnsabermetrics@gmail.com> wrote:
Hi friends

I am new to JGAP can i know whether it is possible to check step by step implementation using this frame work. For example I have developed the gene and the chromosome as desired but how can i check whether it is giving the correct output. Do i have to implement all other features in order to test it.

Please help me out

Thank you

John

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
jgap-users mailing list
jgap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jgap-users