You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Features/distributions.rst
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Ciw currently allows the following continuous service and inter-arrival time dis
15
15
- :ref:`weibull_dist`
16
16
- :ref:`empirical_dist`
17
17
- :ref:`own_functions`
18
+
- :ref:`time_dependent`
18
19
- :ref:`no_arrivals`
19
20
20
21
@@ -161,6 +162,18 @@ Ciw allows users to input their own function to generate service and inter-arriv
161
162
162
163
163
164
165
+
.. _time_dependent:
166
+
167
+
------------------------
168
+
Time Dependent Functions
169
+
------------------------
170
+
171
+
Similar to adding :code:`UserDefined` functions, Ciw allows for time dependent functions. These are lambda functions that take in a time parameter. Ciw uses the simulation's current time to sample a new service or inter-arrival time::
172
+
173
+
['TimeDependent', lambda t : my_time_dependent_func(t)]
0 commit comments