Package es.uam.eps.ir.relison.diffusion.expiration

Expiration mechanisms, that control how much time pieces of information can be repropagated in the network.
  • Interface Summary 
    Interface Description
    ExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    Interface for checking the expiration of the information pieces.
  • Class Summary 
    Class Description
    AllNotPropagatedExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    Expiration mechanism that discards every not previously propagated received information piece.
    AllNotRealPropagatedExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    Expiration mechanism that removes every information piece that has not been repropagated in a real life scenario.
    AllNotRealPropagatedTimestampExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    If current timestamp is greater than the timestamp of the pieces, the elements are discarded.
    ExponentialDecayExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    Expiration mechanism that increases exponentially the probability of discarding an information piece as the number of iterations since its creation increases.
    InfiniteTimeExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    Expiration mechanism that does not discard any information piece.
    TimedExpirationMechanism<U extends java.io.Serializable,​I extends java.io.Serializable,​P>
    Expiration mechanism that discards information pieces after a certain number of iterations.