From: Gary P. <gpa...@gm...> - 2009-06-08 09:24:38
|
Hi, I'm not following your question? The calculatefitness() method is defined on the Entity interface. StandardParticle does in fact expose this method and implement it using an EntityBasedFitnessCalculator. Could you perhaps provide an example of the usage? Regards, Gary On Friday 05 June 2009 23:36:40 lab...@gm... wrote: > I have another question. > > I am trying to get the fitness of a particle (individual) through some > agent-based simulation. However, the calculateFitness method is called with > the solution vector and not the particle object. Has anybody done that > before? > > TIA, > > myriam |