User Tools

Site Tools


public:i-700-abms-08-1:xml_messages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:i-700-abms-08-1:xml_messages [2008/02/26 15:08] ivarpublic:i-700-abms-08-1:xml_messages [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +<[[XML_messages_current]]>
 +
 +=====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="Type of Industry" Foreign="Yes/no" carbonQuota="How many units" /rule>\\+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="How many units(tons) they want to buy" price="The Max price it is willing to pay" /buy>//\\+ 
 +<box> 
 +<buy  
 +      name="The buyers name same as in type of industry" 
 +      units="How many units(tons) it wants to buy" 
 +      price="The Max price it is willing to pay" 
 +/>\\ 
 +</box>
  
 **Sell Messages**\\ **Sell Messages**\\
-Seller sends out this message to the market wich then will respond to the seller saying if it is able to sell or not.\\ +Seller sends out this message to the market which then will respond to the seller saying if it is able to sell or not.\\ 
-Each bid is processed in the market where the market holds all of the bids information (Stores Second higest and the highest bid)\\ +Each bid is processed in the market where the market holds all of the bids information (Stores Second highest and the highest bid)\\ 
-//<sell units"How many it is willing to sell" price="The Min price it is willing to sell for" /sell>//\\+<box> 
 +<sell 
 +      name="The sellers name same as in type of industry" 
 +      units"How many units(tons) it is willing to sell" 
 +      price="The Min price it is willing to sell for" 
 +/> 
 +</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 is if he is allowed to sell or if he has sold any and how much.\\ +The respond to seller tells the seller if he is allowed to sell or if he has sold any and how much.\\ 
-//<buyer bought="Yes/No" units="How many units bought" price="What price he paid for the units" /buyer>//\\ +<box> 
-//<seller sold="Yes/No" units="How many units sold" price="The price it was sold for" /seller>//+<buyer 
 +      sendTo="The buyers name same as in type of industry" 
 +      bought="Yes/No" 
 +      units="How many units bought" 
 +      price="What price he paid for the units" 
 +/> 
 +</box> 
 +<box> 
 +<seller  
 +      sendTo="The sellers name same as in type of industry" 
 +      sold="Yes/No" 
 +      units="How many units sold" 
 +      price="The price it was sold for" 
 +/>// 
 +</box>
/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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki