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/04/16 16:14] marcopublic:i-700-abms-08-1:class_definition [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 52: Line 52:
  
    
 +
  
  
Line 72: Line 73:
  
  
-Matches and improvements:+Matchesimprovements, and checkout:
           o           o
-            If (Max Carbon usage Owned carbon) Buy difference (Units)+            Match: If (bid's price offer's minimum priceassign this bid to that offer.
           o           o
-            If (Max Carbon usage Owned carbon) Sell difference (Units)+            Improvement: Scanning the offers for every bid: 
 +                            If (current offer's price old offer's pricerepoint the bid to the new one.
           o           o
-            Max bid price = Capital / units +            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). 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.
  
  
Line 92: Line 95:
  
 Initial values for all the modules (industries or market) are retrieved from psyclone as parameters. 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.1208362460.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki