|
From: | Mervin Chan |
Subject: | [Swarm-Support] specifying Agent creation/actions through a .scm file |
Date: | Mon, 11 Oct 2004 11:52:37 +0800 |
Hi everyone,I am using Java Swarm and I just want to know, is there is way to specify the number of agents to create and their actions in a .scm file?
Now, all my agents and their actions are created manually in buildobjects(); and buildActions() (FCall) respectively.
What i want to achieve is to define different characteristics for every agent i create. I have one type of agent but I want each agent i create to do a different action.
ie. There are one type of agent - Machine. A Machine agent has many possible actions.
I want to create N Machine agents. I want each Machine I create to do a different action throughout the simulation.
I am able to specify model parameters in the .scm file. But could the .scm file be further extended to define agent actions and agent creation?
Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |