Class Protocol<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>
Type Parameters:
U - type of the users.
I - type of the information pieces.
F - type of the user and information pieces features.
Direct Known Subclasses:
BidirectionalRumorSpreadingModelProtocol, CountThresholdModelProtocol, CustomProtocol, IndependentCascadeModelProtocol, ProportionThresholdModelProtocol, PullModelProtocol, PushModelProtocol, RumorSpreadingModelProtocol, SimpleProtocol, TemporalProtocol

public abstract class Protocol<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
extends java.lang.Object
Information propagation protocol.
  • Field Details

    • selection

      private final SelectionMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​F> selection
      Mechanism for selecting the information the user propagates.
    • expiration

      private final ExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​F> expiration
      Mechanism for discarding information pieces over time.
    • update

      private final UpdateMechanism update
      Mechanism for updating the list of information to propagate.
    • prop

      private final PropagationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​F> prop
      Mechanism for selecting the users we want to propagate the information.
    • sight

      private final SightMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​F> sight
      Mechanism for selecting which information users actually see
  • Constructor Details

    • Protocol

      public Protocol​(SelectionMechanism<U,​I,​F> selection, ExpirationMechanism<U,​I,​F> expiration, UpdateMechanism update, PropagationMechanism<U,​I,​F> prop, SightMechanism<U,​I,​F> sight)
      Constructor.
      Parameters:
      selection - mechanism for selecting the information the user propagates.
      expiration - mechanism for discarding information pieces over time.
      update - mechanism for updating the list of information to propagate.
      prop - mechanism for selecting the users towards whom propagate the information.
      sight - mechanism for selecting the information pieces that a user sees.
  • Method Details