From: <rm...@st...> - 2007-03-31 11:50:30
|
Hi, First of all, thank you for the answer. I think that doesn't solve my problem. If I understood well what you suggested, I would still have to fetch all the neighborood. Let's say, if my maximum range was 30 I would have to fetch the range from 0 to 30. It doens't work for me because I have a world of 2400x1200 and I nedd to verify the range from 0 to 400 (160000 cells), what makes me run out of memory. Best regards, Rui Quoting brian glass <bri...@gm...>: > Can't you just keep a tally and subtract from larger increments? > > On 3/30/07, rm...@st... <rm...@st...> wrote: >> >> Hi everyone!, >> >> Is there a way in RepastJ to get the Moore neighborhood in a range from >> minDistance to maxDistance? >> As far as I know Repast only supports a range of the neighborood, that >> is, minDistance is always 0. >> I need this because I am verifying the agents' neighborhood >> incrementally. Assuming I am increasing the neighborhood range by 10 >> every iteration, at the second iteration I only want to get from >> neighbors from minDistance = 10 to maxDistance = 20, since I already >> verified those in the range of 0 to 10. >> Has anyone worked RepastJ to add a feature like this? >> >> Thank you, >> Rui Lopes >> >> >> >> >> ---------------------------------------------------------------- >> This message was sent using IMP, the Internet Messaging Program. >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Repast-interest mailing list >> Rep...@li... >> https://lists.sourceforge.net/lists/listinfo/repast-interest >> > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |