User Tools

Site Tools


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

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:class_definition [2008/02/28 11:10] vigdispublic:i-700-abms-08-1:class_definition [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 42: Line 42:
  
  
-    * +Buy/Sell
-      Buy/Sell+
           o           o
             If (Max Carbon usage > Owned carbon) Buy difference (Units)             If (Max Carbon usage > Owned carbon) Buy difference (Units)
           o           o
             If (Max Carbon usage < Owned carbon) Sell difference (Units)             If (Max Carbon usage < Owned carbon) Sell difference (Units)
 +          o
 +            Max bid price = Capital / units 
 +          
  
    
 +
 +
 +
 +
  
  
Line 57: Line 63:
 Average price Average price
  
-Average pr. country+Name
  
-Average pr. industry+Country
  
-List of who can sell to who 
  
 == Functionality: == == Functionality: ==
  
-Match Asks and bids+Match offers and bids according to the design. At the end of the day, makes the transaction between buyers and sellers of the matching trades. 
 + 
 + 
 +Matches, improvements, and checkout: 
 +          o 
 +            Match: If (bid's price > offer's minimum price) assign this bid to that offer. 
 +          o 
 +            Improvement: Scanning the offers for every bid: 
 +                            If (current offer's price < old offer's price) repoint the bid to the new one. 
 +          o 
 +            Checkout: For every maching offer: notify the buyers/sellers with units sold/bought and for wich price. 
 +                                  Then if the offer and the bid are not checked out completely, keep them on the market as new. 
 +           
  
-====== Monitor======+====== Monitor ======
  
 +Use JFreeGraph - from last year's model (in SVN).
 +A module declared in the psySpec, meant to be listening to every type of message from every module.
 +So it will have the time passing, the prices in the bids/offers and from whom, and the traded transactions.
  
-====== Tester? ====== 
-Scenarios / Expected Results 
  
 ====== Global ====== ====== Global ======
  
-"Government" sends out initial values for everybody+Initial values for all the modules (industries or market) are retrieved from psyclone as parameters. 
 +Every module starts only with a name given in the command line, then will be able to ask for parameters to the central system.
  
/var/www/cadia.ru.is/wiki/data/attic/public/i-700-abms-08-1/class_definition.1204197046.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki