newState: New state in a Markov jump process
Description
Given a transition matrix Q
, a uniform value u
, and a previous state k
, it returns the new state of a Markov jump process
Usage
newState(previousState, cumulatedEmbeddedMC, u)
Arguments
previousState
Previous state of the Markov jump process
Value
The next state of the Markov jump process