A Synchonous_Algorithm that is the composition of two synchronous
algorithms running in parallel.
|
|
|
|
|
trans_i(self,
p,
msgs)
Determines what state transition a Process, p, will perform, having
received messages, msgs |
source code
|
|
|
halt_i(self,
p)
Returns True iff Process p has halted execution of the algorithm |
source code
|
|
|
cleanup_i(self,
p)
Determines what final state transition a Process, p, will perform,
after the algorithm terminates. |
source code
|
|
|
run(self,
network,
params={ } )
Executes the algorithm on the network |
source code
|
|
|
|
Inherited from Synchronous_Algorithm :
execute ,
msgs ,
print_algorithm_terminated ,
round ,
trans
Inherited from Algorithm :
__call__ ,
cleanup ,
count_msg ,
delete ,
get ,
halt ,
has ,
increment ,
output ,
set
|