Ciw
Ciw copied to clipboard
Ciw is a simulation library for open queueing networks.
In Python, the is not None construct is preferred over != None for several reasons: # Identity Comparison vs. Value Comparison: is not is an identity comparison, which checks whether...
I'm trying to model a system which uses a Kafka producer. A Kafka producer works with a queue size and a linger time. A Kafka producer will send messages to...
I noticed that `arrival_node.ArrivalNode.decide_baulk` is responsible for making a decision about whether to baulk an instance of `Individual`. Here is the implementation: ```python def decide_baulk(self, next_node, next_individual): """ Either makes...
Just found Salabim. Definitely looks like another simulation tool that can handle queues.
Docstrings and type hints for schedules.Schedule
Personally, I find it more readable when the `__repr__` for classes like this have brackets around the information being displayed as object attributes and tells us what type of information...
Thinking about [Issue 222](https://github.com/CiwPython/Ciw/issues/222), there is a desired behaviour. I would like there to be a way to have a service discipline behaviour in which servicing fails to start. One...
- Added a brief docstring for the file, although it should probably be expanded on in the future. - Changed order of imports to match PEP8. - Adjusted __repr__ so...
Added the integer and NoReturn types. Added comments indicating that NoReturn should be changed to Never in the future. Added PARAMETERS.