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

Stop mechanism, for deciding when the simulation finishes.
  • Interface Summary 
    Interface Description
    StopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Interface for defining stop conditions for simulations.
  • Class Summary 
    Class Description
    MaxTimestampStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Stop condition that determines a maximum possible timestamp for the execution.
    NoMoreNewPropagatedInfoStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Uses as the end of the simulation the fact that no information has been seen by users in the last iteration.
    NoMorePropagatedInfoStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Uses as the end of the simulation the fact that no information has been propagated in the last iteration.
    NoMoreTimestampsNorPropInfoStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Stop condition: When the last timestamp has appeared, then, stop.
    NoMoreTimestampsStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Stop condition: when the last timestamp has appeared, then, stop.
    NumIterStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Stops after a given number of iterations.
    TotalPropagatedStopCondition<U extends java.io.Serializable,​I extends java.io.Serializable,​F>
    Stops after a given number of information pieces has been propagated.