Class AllRealPropagatedSelectionMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>

java.lang.Object
Type Parameters:
U - type of the users.
I - type of the information.
P - type of the parameters.
All Implemented Interfaces:
SelectionMechanism<U,​I,​P>

public class AllRealPropagatedSelectionMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
extends CountRealPropagatedSelectionMechanism<U,​I,​P>
Algorithm that chooses randomly some pieces from the own set of information pieces, and it only propagates those received information pieces from other users that the user has propagated during the actual diffusion procedure.
  • Constructor Details

    • AllRealPropagatedSelectionMechanism

      public AllRealPropagatedSelectionMechanism​(int numOwn)
      Constructor.
      Parameters:
      numOwn - number of own information pieces to propagate for each user and iteration.
    • AllRealPropagatedSelectionMechanism

      public AllRealPropagatedSelectionMechanism​(int numOwn, int numRepr)
      Constructor.
      Parameters:
      numOwn - number of own information pieces to propagate for each user and iteration.
      numRepr - number of propagated information pieces to repropagate for each user and iteration.