Class BidirectionalRumorSpreadingModelProtocol<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.BidirectionalRumorSpreadingModelProtocol<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 BidirectionalRumorSpreadingModelProtocol<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
extends Protocol<U,​I,​F>
Adaptation of the pull-push protocol.

Reference: 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)

  • Constructor Details

    • BidirectionalRumorSpreadingModelProtocol

      public BidirectionalRumorSpreadingModelProtocol​(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.