Class AllRealPropagatedSelectionMechanism<U extends java.io.Serializable,I extends java.io.Serializable,P>
java.lang.Object
es.uam.eps.ir.relison.diffusion.selections.AbstractSelectionMechanism<U,I,P>
es.uam.eps.ir.relison.diffusion.selections.CountSelectionMechanism<U,I,P>
es.uam.eps.ir.relison.diffusion.selections.CountRealPropagatedSelectionMechanism<U,I,P>
es.uam.eps.ir.relison.diffusion.selections.AllRealPropagatedSelectionMechanism<U,I,P>
- 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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AllRealPropagatedSelectionMechanism(int numOwn)
Constructor.AllRealPropagatedSelectionMechanism(int numOwn, int numRepr)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.diffusion.selections.CountRealPropagatedSelectionMechanism
getReceivedInformation
Methods inherited from class es.uam.eps.ir.relison.diffusion.selections.CountSelectionMechanism
getNumOwn, getNumReceived, getNumRepropagate, getOwnInformation, getPropagatedInformation, getRepropagatedInformation
Methods inherited from class es.uam.eps.ir.relison.diffusion.selections.AbstractSelectionMechanism
getSelectableUsers, select
-
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.
-