Time schedule in Agent setup() or behaviour;


Subject: Time schedule in Agent setup() or behaviour;
From: Vadim K. (mogikan@pisem.net)
Date: Sun Feb 16 2003 - 17:49:16 MET


Hello JADER's

    In my Agent I need to send different messages in certain time after agent has born. Now I'm using for(i,i<x,i++) cycle with Tread.sleep(msec) in agent's setup() procedure. But I think it is rather "robust" way of doing such a thing. I want to create a behaviour without action receive and put the timer there, but I don't know if it give the same result and whether sleep (1000) for example will be equal to 1sec, when I have 10 agents, with 10 behaviours or more? Or will the time be divided between agents?
Appreciate your help.

Regards,
                    Vadim K.

Hello JADER's
 
    In my Agent I need to send different messages in certain time after agent has born. Now I'm using for(i,i<x,i++) cycle with Tread.sleep(msec) in agent's setup() procedure. But I think it is rather "robust" way of doing such a thing. I want to create a behaviour without action receive and  put the timer there,  but I don't know if it give the same result and whether sleep (1000) for example will be equal to 1sec, when I have 10 agents, with 10 behaviours or more? Or will the time be divided between agents?
Appreciate your help.
 
Regards,
                    Vadim K.
 



This archive was generated by hypermail 2a22 : Sun Feb 16 2003 - 21:42:09 MET