Chapter5
79 pág.

Chapter5


DisciplinaAlgorítimos Distribuídos32 materiais283 seguidores
Pré-visualização9 páginas
success \u2190\u2212 1; inform all neighbours;
(3f) return(success).
(4) Pi executes switch test:
(4a) for j from 1 to bi do
(4b) if (Read Received [j] + Write Received [j]) >
[
\u2211
k=1...bi ,k 6=j (Read Received [k] + Write Received [k]) + readi + writei ] then
(4c) transfer object copy to Neighbours[j]; success \u2190\u2212 1; inform all neighbours;
(4d) return(success).
A. Kshemkalyani and M. Singhal (Distributed Computing) Terminology and Basic Algorithms CUP 2008 79 / 79
	Distributed Computing: Principles, Algorithms, and Systems