Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected bug for continuous time Markov chain simulation with absorb…
…ing states rtcmc originally could not handle continuous time Markov chains with absorbing states because rexp cannot work with rate zero parameters, which would be input for continuous time Markov chains. Added fix that checks for transition rate of 0 and makes transition time Inf if so. Chain will terminate early if it reaches an absorbing state.
- Loading branch information