Hello, I have a problem which I've been trying to solve for quite some time now but to no avail (I'm still very new to Oz/Mozart). I have a class Environment in which I created 2 lists containing each a numbre of a determined type of agents (Let us say a list of red agents and a list of blue ones). The agents of one of these lists (the red agents for example) must remain local while the others are sent to a remote site. I'm trying to achive this using Remote but it's not working. I have an Environment class which has two methods: init (which initializes the agents and displays them on the screen) and start (which makes my agents move by starting each agent in both list). The same goes for the agents (both red and blue): an init method initializes them while the start method allows the agent to start moving).
My problem is how to write such a thing (If this is possible to achieve). The result I want is that after applying the Remote I would get the list of blue agents which I can manipulate exactly as if it were local (but whose agents are actually running on a remote site) in my Environment class. I would appreciate any help offered. Thanks
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
