MASON-INTEREST-L Archives

April 2004

MASON-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:
Morten Revsbæk <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 7 Apr 2004 13:25:08 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Liviu Panait wrote:
> Morten.
>
> I have previously used ECJ and MASON together, and it is quite
> straightforward.  In my approach, I created a new class that extended
> GPProblem (I wanted to used GP), and it contained a MASON simulation as
> a member.  A new instance of the simulation was created at each
> evaluation.  One of the parameters for constructing the simulation was
> the GPIndividual.  This parameter was then passed forward to the agents
> in the simulation.  Therefore, at each time step (or whenever the
> agents in the simulation were invoked to do their stuff), they had a
> pointer to the GPIndividual that needed to be evaluated, and took their
> decisions based on this individual.  During the simulation, I was
> collecting various data used to assess the fitness.
>
> Unfortunately, the code used some preliminary version of the MASON
> simulator, and needs small tweaks to compile with the new version.
> Plus, it is poorly commented.  However, I could send it to you as an
> example.
>
> Regards,
>
> Liviu.
>
Hi Liviu

Thanks for your reply. It sounds pretty simple, but it could not harm to
have a look at your code before starting on my own. I would appreciate
it, if you mailed it to me.

Regards

--Morten

ATOM RSS1 RSS2