Changes between Version 53 and Version 54 of GAIIA


Ignore:
Timestamp:
Jan 13, 2010, 6:49:27 PM (14 years ago)
Author:
andreea.visan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GAIIA

    v53 v54  
    169169
    170170 * The Distributed Execution Model
     171
     172'' Leader Selection ''
     173
     174{{{
     1750. each population has an id associated and a variable "master" initially equal with its id
     1761. each population broadcasts its id to the others
     1772. each population waits for the others' ids and computes the candidate master
     1782.1. if the received id < "master"
     1792.1.2 then "master" = the received id
     1803. each population broadcasts its candidate master
     1814. each population waits for the others' candidate masters and computes the real master
     1824.1. if the received candidate master < my candidate master
     1834.1.2 then my candidate master is updated
     1845. each population knows the id of the master
     185
     186}}}
     187
    171188[[Image(execd.jpg)]]
    172189