Class RumorSpreadingModelProtocol<U extends java.io.Serializable,​I extends java.io.Serializable,​F>

java.lang.Object
es.uam.eps.ir.relison.diffusion.protocols.Protocol<U,​I,​F>
es.uam.eps.ir.relison.diffusion.protocols.RumorSpreadingModelProtocol<U,​I,​F>
Type Parameters:
U - type of the users.
I - type of the information pieces.
F - type of the user and information pieces features.

public class RumorSpreadingModelProtocol<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
extends Protocol<U,​I,​F>
Adaptation of the pull-push protocol.
References:
  • B. Doerr, M. Fouz, T. Friedrich, Social networks spread rumors in sublogarithmic time, 43rd Annual ACM Symposium on Theory of Computing (STOC 2011), pp. 21-30. (2011)
  • A. Demers, D. Greene, C. Hauser, W. Irish, J. Larson. Epidemic algorithms for replicated database maintenance. ACM PODC 1987, pp. 1-12 (1987)
  • Constructor Details

    • RumorSpreadingModelProtocol

      public RumorSpreadingModelProtocol​(int numOwn, int numRec, int waitTime)
      Constructor.
      Parameters:
      numOwn - number of own pieces of information to spread every iteration.
      numRec - number of received pieces of information to spread every iteration.
      waitTime - number of iterations before a user can be revisited.