215216217218219220221
{ geneticAgentIds.add(a.getId()); } agents.put(a.getId(), a); scriptManager.addPreEvent(new ScriptedEvent(-1, new ActivateParticipant(a.getId()))); }
181182183184185186187
* @param a The agent to add */ protected final void addAgent(AbstractAgent a) { agents.put(a.getId(), a); ms.addPreEvent(new ScriptedEvent(-1, new ActivateParticipant(a.getId()))); }