zhangru-ng / distributed-system

Course projects of COP5615 Fall 15: distributed algorithms implemented in Scala
0 stars 1 forks source link

[Scala_gossip] Push-Sum result incorrect #6

Closed zhangru-ng closed 8 years ago

zhangru-ng commented 9 years ago

if don't use tick and stop the whole process when one of peers convergent, the result will be correct. Need to find a way stop all peers.

zhangru-ng commented 9 years ago

Use broadcast or gossip to terminate all actors

zhangru-ng commented 8 years ago

If don't use tick, the time complexity will be O(n). Precision can be obtain by increase terminate count, and should be large for line.