« Return to Thread: get reasioning cycle number.
Hello jason developers.
I have I agent that remember the positions of the others agents using beliefs added in plan body (+lastPosition...)
I need make it forget or ignore this beliefs after some time. But the cputime is not good for the problem because I has interessed in BDI reasoning cycles to do it forget beliefs, and not in real cputime.
O can create a internal action that call the ts.getUserAgArch().getCycleNumber() ? I think it is ok, but I read it javadoc something about "sync execution time", and i do not know it...
You can explain me this method?
Thanks...
=======================================================
Olá....
Eu tenho um agente que lembra das posições de outros agentes (x,y) usando crenças (+lastPosition).
Eu preciso fazer eles esquecerem estas crenças após um tempo. Eu poderia usar o tempo de cpu (eu criei uma internal action .cputime), mas para meu problema é mais importante ele pensar em ciclos de execução BDI do que propriamente em tempo. Então eu precisaria saber quantos ciclos de execução se passaram.
Eu pensei em criar uma internal action .getCycleNumber, chamando o método ts.getUserAgArch().getCycleNumber() . Mas não estou certo se isto irá funcionar, pq no javadoc cita algo relativo a "modo de execução sincrono" e eu não sei o que é isto.
vcs poderia me dar uma explicação rápida sobre isto? E me dizer se isto funciona?
abs...--
Ass: Marcos Côrtes
Mestrando Computação - UFF
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Jason-users mailing list Jason-users@... https://lists.sourceforge.net/lists/listinfo/jason-users
« Return to Thread: get reasioning cycle number.
| Free embeddable forum powered by Nabble | Forum Help |