A C++ library to specify and simulate trajectories from semi-Markov models.