ECJ-INTEREST-L Archives

July 2013

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Wed, 17 Jul 2013 10:21:26 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
GPData is a temporary object used to allow GPNodes to communicate amongst each other.  It is not intended for permanent storage, and is destroyed after fitness evaluation.  For permanent storage, you'll need to do something else, such as store information directly in the GPIndividual itself, during your evaluate(...) method.  If the data is small you can make sure it's cloned in the GPIndividual's clone() method.

Sean

On Jul 17, 2013, at 10:12 AM, Bojan Janisch wrote:

> Hey everyone,
>
> is there a way to get the GPData from an GPIndividual?
>
> At my case, a GPIndividual is a rule where the conditions and everything is stored in RuleData extends GPData.
> For statistical purpose I need some informations of the rule (my Individual), which are stored in the RuleData object of my problem.
> Each time an Individual is evaluated the RuleData is filled with different informations.
>
> I know how to get the best Individual of a generation, but how do I get the Data of this Individual?
>
> Greetings
>
> Bojan

ATOM RSS1 RSS2