sperezacuna / si-domesticrobot

A domestic robot that retrieves beers from the fridge and delivers them to the owner on a 2D map. Additionally, it cleans the room as the owner randomly throws away the beer cans after drinking them. The robot autonomously places orders at supermarkets to purchase the cheapest beer available. Supermarkets stock their inventory via an auction system
MIT License
0 stars 0 forks source link

MENSAJES INTERCAMBIADOS #114

Closed VictorFigma closed 2 years ago

VictorFigma commented 2 years ago

que estén estructurados, por agente DESTINATARIO, todos los mensajes que se intercambian actualmente, con sus correspondientes traducciones a lenguaje natural y a XML.

Por ejemplo, para el actual mensaje del agente mover: moved(success|failure, Product, Origin, Destination) En lenguaje natural: [success|failure] in move [PRODUCT] from [ORIGIN] to [DESTINATION] En XML:

[success|failure] [PRODUCT]/product> [ORIGIN] [DESTINATION]
sperezacuna commented 2 years ago

Merge with #101.

VictorFigma commented 2 years ago

// ------------------------------------------------------------------------- // Supermarket received messages // -------------------------------------------------------------------------

//FROM BUTLER

.send(Provider, tell, order(beer, BatchSize)); //277

Me gustaria comprarte * cervezas

.send(Provider, tell, reject(OrderId)); //356

Lo siento pero debo rechaza la orden *

.send(Provider, tell, received(OrderId)); //373

He recibido la orden *

.send(Provider, tell, pay(TotalPrice)); //374

Toma tu pago de *