WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: askOne and multiple agents

askOne and multiple agents

by Marcos Côrtes :: Rate this Message:

| View in Thread

Hello... I need a help...

I have tried build a ContractNet example with jason..

But, I need make a "send message" for multiples receivers and receive ALL their answers.

Example:

.send([a, b, c], askOne, ask(), ANSWERS);
//wait the all answers in ANSWERS.
for(.member(A, ANSWERS))
{
    //manipulate a unique answer A in ANWERS
}


I try use the .send internal action with "askOne", but it only wait the first answer for return to the intention/plan.


There is other way to make it? (I do now my agent send and receive the askOne answer for each agent receiver with multiples ".send". But it is very slow!).


Thanks.

--
Ass: Marcos Côrtes
Mestrando Computação - UFF

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Jason-users mailing list
Jason-users@...
https://lists.sourceforge.net/lists/listinfo/jason-users

 « Return to Thread: askOne and multiple agents