newExpWaitingTime | R Documentation |
Creates an exponentially distributed waiting time
rate |
the rate of the exponential distribution |
This function creates an C++ object of type ExpWaitingTime. It can be passed to addTransition or Simulation$addTransition to specify the waiting time for a transition. As a C++ object, it is faster than using an R function to generate waiting times because there is no need to call an R function from C++.
an external pointer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.