Research Article

Virtual Net: A Decentralized Architecture for Interaction in Mobile Virtual Worlds

Algorithm 2

Consensus.
1. Given (c, ),
2. ri proposes:
3.
4. rL decides:
5.   For each and j∈Ω(s, c),
6.   // Proposals: the set of proposed events for c from all replicas;
7.     If ∄e(s, j) ≠ ⊥ ∧ e(s, j) Proposals, then
8.      e(s, j) ←Empty
9.      
10.
11. rn applies the decision: E(c) ←D(c)