newExpWaitingTime {ABM} | R Documentation |
Creates an exponentially distributed waiting time
Description
Creates an exponentially distributed waiting time
Arguments
rate |
the rate of the exponential distribution |
Details
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++.
Value
an external pointer
[Package ABM version 0.4.1 Index]