MASON-INTEREST-L Archives

August 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML 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:
Eric 'Siggy' Scott <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sun, 11 Aug 2013 22:05:27 -0400
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1083 bytes) , text/html (3573 bytes)
You'll need to be more specific.  What do you mean by "*remove* IntBags
agent* obtained *from the source agent population"

I don't know what an "IntBag agent" or a "source agent population" is.

Siggy


On Sun, Aug 11, 2013 at 9:18 PM, Aуdar Aliev <[log in to unmask]> wrote:

> Hello everyone,
>
> I'm relatively new to mason as well as agent based modelling in general,
> and have been stuck with this problem for 2 days.
>
> I need my agents to exchange IntBags with each other.
>
> Within each agent I have a Bag called *population* which contains a *set
> of IntBags*. Each N steps I want my agents to find their closest
> neighbours and get certain number of IntBags from them.
>
> My problem is that, while my agents are able to get IntBags obtaining
> copies of neighbouring ilk agents using
> map.getNeighboursExactlyWithinDistance(), I couldn't find a way to *remove
> * IntBags agent* obtained *from the source agent population.
>
> Can anyone advice on how to do it?
>
> Thank you in advance.
>
> Best
>



-- 

Ph.D student in Computer Science
George Mason University
http://mason.gmu.edu/~escott8/


ATOM RSS1 RSS2