public:i-700-abms-08-1:xml_messages
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:i-700-abms-08-1:xml_messages [2008/02/26 15:08] – ivar | public:i-700-abms-08-1:xml_messages [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | < | ||
| + | |||
| + | =====Simulation Version 1===== | ||
| ==There are five kinds of messages needed for the system.== | ==There are five kinds of messages needed for the system.== | ||
| **Rule Message**\\ | **Rule Message**\\ | ||
| In the beginning of the simulation each of the Industies gets sent the rules.\\ | In the beginning of the simulation each of the Industies gets sent the rules.\\ | ||
| - | <rule industry=" | + | No message sent. The Industries get the message as parameters from psyclone. |
| **Buy Messages**\\ | **Buy Messages**\\ | ||
| Buyer sends out this message to the market wich then will respond to the buyer saying if it is able to buy or not.\\ | Buyer sends out this message to the market wich then will respond to the buyer saying if it is able to buy or not.\\ | ||
| - | //<buy units=" | + | |
| + | < | ||
| + | < | ||
| + | name=" | ||
| + | | ||
| + | | ||
| + | />\\ | ||
| + | </ | ||
| **Sell Messages**\\ | **Sell Messages**\\ | ||
| - | Seller sends out this message to the market | + | Seller sends out this message to the market |
| - | Each bid is processed in the market where the market holds all of the bids information (Stores Second | + | Each bid is processed in the market where the market holds all of the bids information (Stores Second |
| - | //<sell units" | + | < |
| + | <sell | ||
| + | name=" | ||
| + | | ||
| + | | ||
| + | /> | ||
| + | </box> | ||
| **Market Respond Messages**\\ | **Market Respond Messages**\\ | ||
| The market sends two kinds of messages: a respond to buyer and respond to seller.\\ | The market sends two kinds of messages: a respond to buyer and respond to seller.\\ | ||
| - | The respond to buyer is tells the buyer if he has bought something or not and how much.\\ | + | The respond to buyer tells the buyer if he has bought something or not and how much.\\ |
| - | The respond to seller | + | The respond to seller |
| - | //<buyer bought=" | + | < |
| - | //<seller sold=" | + | <buyer |
| + | sendTo=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | /> | ||
| + | </box> | ||
| + | < | ||
| + | < | ||
| + | sendTo=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | />// | ||
| + | </ | ||
/var/www/cadia.ru.is/wiki/data/attic/public/i-700-abms-08-1/xml_messages.1204038521.txt.gz · Last modified: 2024/04/29 13:32 (external edit)