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/28 10:32] 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.\\ 
-<box> +No message sent. The Industries get the message as parameters from psyclone.
-<rule>\\ +
-      <industry="Type of Industry"/> +
-      <country="The country it belongs to" /> +
-      <sellTo="All | Country" /> +
-      <startQuota="How many units" /> +
-</rule> +
-</box> +
- +
-**Statistics Messages** +
-The market sends out these messages in the beginning as a stating statistics for the industries +
-<box> +
-<stats> +
-      <industry="Type of Industry" /> +
-      <avarage="Avarage Carbon price" /> +
-</stats> +
-</box>+
  
 **Buy Messages**\\ **Buy Messages**\\
Line 25: Line 14:
  
 <box> <box>
-<buy +<buy  
-      <name="The buyers name same as in type of industry" /> +      name="The buyers name same as in type of industry" 
-      <units="How many units(tons) it wants to buy" /> +      units="How many units(tons) it wants to buy" 
-      <price="The Max price it is willing to pay" /> +      price="The Max price it is willing to pay" 
-</buy>\\+/>\\
 </box> </box>
  
Line 36: Line 25:
 Each bid is processed in the market where the market holds all of the bids information (Stores Second highest 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)\\
 <box> <box>
-<sell> +<sell 
-      <name="The sellers name same as in type of industry" /> +      name="The sellers name same as in type of industry" 
-      <units"How many units(tons) it is willing to sell" /> +      units"How many units(tons) it is willing to sell" 
-      <price="The Min price it is willing to sell for" /> +      price="The Min price it is willing to sell for" 
-</sell>+/>
 </box> </box>
  
Line 48: Line 37:
 The respond to seller tells the seller 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.\\
 <box> <box>
-<buyer> +<buyer 
-      <sendTo="The buyers name same as in type of industry" /> +      sendTo="The buyers name same as in type of industry" 
-      <bought="Yes/No" /> +      bought="Yes/No" 
-      <units="How many units bought" /> +      units="How many units bought" 
-      <price="What price he paid for the units" /> +      price="What price he paid for the units" 
-</buyer>+/>
 </box> </box>
 <box> <box>
-<seller +<seller  
-      <sendTo="The sellers name same as in type of industry" /> +      sendTo="The sellers name same as in type of industry" 
-      <sold="Yes/No" /> +      sold="Yes/No" 
-      <units="How many units sold" /> +      units="How many units sold" 
-      <price="The price it was sold for" /> +      price="The price it was sold for" 
-</seller>//+/>//
 </box> </box>
/var/www/cadia.ru.is/wiki/data/attic/public/i-700-abms-08-1/xml_messages.1204194740.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki