Class OnlyOwnInformationSelectionMechanism<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.OnlyOwnInformationSelectionMechanism<U,I,P>
- Type Parameters:
U
- type of the usersI
- type of the information piecesP
- type of the parameters
- All Implemented Interfaces:
SelectionMechanism<U,I,P>
public class OnlyOwnInformationSelectionMechanism<U extends java.io.Serializable,I extends java.io.Serializable,P> extends CountSelectionMechanism<U,I,P>
Selection mechanism that does not propagate any information piece created by other users (only
pieces owned by the propagating user).
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OnlyOwnInformationSelectionMechanism(int numOwn)
Constructor.OnlyOwnInformationSelectionMechanism(int numOwn, int numRepr)
Constructor -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.diffusion.selections.CountSelectionMechanism
getNumOwn, getNumReceived, getNumRepropagate, getOwnInformation, getPropagatedInformation, getReceivedInformation, getRepropagatedInformation
Methods inherited from class es.uam.eps.ir.relison.diffusion.selections.AbstractSelectionMechanism
getSelectableUsers, select
-
Constructor Details
-
OnlyOwnInformationSelectionMechanism
public OnlyOwnInformationSelectionMechanism(int numOwn)Constructor.- Parameters:
numOwn
- number of own information pieces to propagate.
-
OnlyOwnInformationSelectionMechanism
public OnlyOwnInformationSelectionMechanism(int numOwn, int numRepr)Constructor- Parameters:
numOwn
- number of own information pieces to propagate.numRepr
- number of information pieces to repropagate.
-