Let X be a continuous random variable. The probability distribution of X is memoryless if Pr[X > t + s | X > t] = Pr[X > s]. The exponential distribution is the only memoryless continuous distribution. To see that the exponential distribution is indeed memoryless, recall that if X is exponentially distributed with rate λ, then Pr[X ≤ t] = 1 − e−λt. We thus have Pr[X > t + s | X > t] = Pr[X > t + s and X > t] ÷ Pr[X > t] = Pr[X > t + s] ÷ Pr[X > t] = e−λ(t + s) ÷ e−λt = e−λs = Pr[X > s].
Say we want to simulate a telephone exchange, with the assumption that the length of a phone call is exponentially distributed. When a phone call comes in, we sample a duration for the call from the exponential distribution. If the state of the system changes before the phone call ends, should we (i) subtract the elapsed time from the previously sampled duration or (ii) sample a new remaining duration from the original distribution as if the call had just started? For a memoryless distribution, it actually does not matter. This is exactly what the memoryless property tells us.
Early versions of Ymer (before version 3.0) used approach (i) as it treated the exponential distribution the same way as non-memoryless distributions. For non-memoryless distributions, you cannot sample a remaining duration from the original distribution, so instead you keep track of the originally sampled trigger times for events that remain enabled after state changes. Of course, if an event gets disabled before it triggers, you need to throw away the old trigger time, and sample a new trigger time when the event becomes enabled again. In later versions of Ymer, approach (ii) was adopted specifically for the exponential distribution as it reduces the amount of state that the simulator has to keep around and you do not have to check if an event with an exponential distribution was enabled in the previous state. This is also the approach implemented in the PRISM simulator. Ymer still uses approach (i) for non-memoryless distributions, for which PRISM currently lacks support.