Skip to content

Commit 3e2baa2

Browse files
committed
Remove remaining references to parameters dictionary
1 parent 489899b commit 3e2baa2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/Guides/behaviour.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ First create the :code:`CustomArrivalNode` that inherits from :code:`ciw.Arrival
5050
... else:
5151
... self.simulation.nodes[2].accept(next_individual, self.next_event_date)
5252

53-
To run the same system, we need to remove the :code:`'Queue_capacities'` from the parameters dictionary, so that customers are not rejected before reaching the :code:`send_individual` method::
53+
To run the same system, we need to remove the keyword :code:`'Queue_capacities'` when creating a network, so that customers are not rejected before reaching the :code:`send_individual` method::
5454

5555
>>> N = ciw.create_network(
5656
... Arrival_distributions=[['Exponential', 6.0], 'NoArrivals'],

docs/Reference/distributions.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ This is done by feeding in a function in the following way::
220220
Time Dependent Distributions
221221
----------------------------
222222

223-
Similar to adding :code:`UserDefined` functions, Ciw allows for time dependent functions. These are lambda functions that take in a time parameter.
223+
Similar to adding :code:`UserDefined` functions, Ciw allows for time dependent functions.
224+
These are lambda functions that take in a time parameter.
224225
Ciw uses the simulation's current time to sample a new service or inter-arrival time::
225226

226227
['TimeDependent', time_dependent_function]
@@ -235,7 +236,7 @@ Ciw uses the simulation's current time to sample a new service or inter-arrival
235236
No Arrivals
236237
-----------
237238

238-
If a node does not have any arrivals of a certain class, then the following may be input into the parameters dictionary::
239+
If a node does not have any arrivals of a certain class, then the following may be input instead of a distribution::
239240

240241
'NoArrivals'
241242

docs/Tutorial-II/tutorial_v.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The transition matrix for the café system looks like this:
4848
4949
5050
That is 30% of cold food customers then go to hot food, while the remaining 70% go to the till, and 100% of hot food customers go to the till.
51-
This is included in the parameters dictionary with the key :code:`Transition_matrices`.
51+
This is included when creating a network, with the keyword :code:`Transition_matrices`.
5252
So, our Network for the café looks like this::
5353

5454
>>> import ciw

0 commit comments

Comments
 (0)