3

Is the built-in function ContinuousMarkovProcess in Mathematica is the well-known Gillespie algorithm?

David
  • 51
  • 2
  • ContinuousMarkovProcess is not an algorithm; it's a symbolic representation of a mathematical object. – Sjoerd Smit Aug 30 '22 at 13:09
  • @SjoerdSmit How does this related to the Gillespie algorithm? – David Aug 30 '22 at 13:10
  • I'm not very familiar with the Gellespie algorithm or the exact mathematical problem it tries to solve. A quick glance at wikipedia suggests the two are related, but I can't really say much more than that. – Sjoerd Smit Aug 30 '22 at 13:17
  • @SjoerdSmit Thanks for your efforts. – David Aug 30 '22 at 13:19
  • 1
    Welcome to the Mathematica Stack Exchange. Any question that inquires about the internal workings of the software or a particular algorithm in use etc. requires developer level knowledge from either WRI or a professional consultant. Can you please make the question more concrete by including any Mathematica code that you have tried out so far. Thanks. – Syed Aug 30 '22 at 13:51
  • @Syed Thanks. I will make the question more concrete. – David Aug 30 '22 at 13:58
  • RandomFunction[ContinuousMarkovProcess[]] seems to use the Gillespie algorithm, but I can't find that in the documentation. You might write Wolfram support and ask. I find its syntax is kind of inconvenient and prefer @IstvánZachar's implementation. I think Robert Nachbar's Compartmental Modeling pacakge also implements it. – Chris K Aug 30 '22 at 16:04

0 Answers0