Class TemporalProtocol<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.TemporalProtocol<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 TemporalProtocol<U extends java.io.Serializable,I extends java.io.Serializable,F> extends Protocol<U,I,F>
Simulation protocol that considers the timestamps. This protocol aims at showing the true propagation
of information through the network: it only propagates new information when the simulation iteration
represents the timestamp of creation of the information piece, and a user propagates contents from
other users only if they had been previously propagated in real life.
-
Constructor Summary
Constructors Constructor Description TemporalProtocol(boolean pure)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.diffusion.protocols.Protocol
getExpiration, getProp, getSelection, getSight, getUpdate
-
Constructor Details
-
TemporalProtocol
public TemporalProtocol(boolean pure)Constructor.- Parameters:
pure
- true if information received from other users cannot be repropagated after the timestamp of the repropagation has been visited, false if it can.
-