|
From: Murphy, J. T. <jtm...@an...> - 2011-07-26 12:50:40
|
Also, the 'apply' methods of the AgentSet are very similar to the 'ask' methods and may also be what you need; the difference is: Ask: eachAgent->doesSomething(); Apply: doSomethingTo(eachAgent) Hope this helps- best, John -- John T. Murphy Computational Postdoctoral Fellow Decision and Information Sciences and Argonne Leadership Computing Facility Argonne National Laboratory jtm...@an... From: Kashif Zia <ka...@pe...<mailto:ka...@pe...>> Date: Tue, 26 Jul 2011 02:28:14 -0500 To: "rep...@li...<mailto:rep...@li...>" <rep...@li...<mailto:rep...@li...>> Subject: [Repast-interest] REpast HPC: iterate through AgentSet Hello Everyone I have an agentset. Want to iterate through it. Need a quick tip… Best --- Kashif Zia PhD Candidate Institut für Pervasive Computing, Johannes Kepler Universität Linz, Altenberger Straße 69, A-4040 Linz Room: P105, Phone: +43-732-2468-9673, Fax: +43-732-2468-8426 E-Mail: ka...@pe...<mailto:ka...@pe...> |