Releases: aarjaneiro/ParallelQueue
ParallelQueue - 1.0.0
Release Notes
- 1.0.0 expands the
gitignoreto exclude temporary files typically generated when used in a virtual environment on Visual Studio.- Also coincides with an official DOI being assigned via Zenodo.
ParallelQueue - 0.1.5.0
Changes components → Network, a class with overridables.
While I originally wanted to keep the components as functions to be used beyond the scope of this project, the introduction of monitors precluded that. As such the move to this better organization changes little in terms of functionality; instead, within each component (Arrivals, Router, Job), would be interesting to try to decouple the monitoring from the main process logic, meeting original goal of having components be independent from the rest of the package.
Also adds warnings about GitHub/PyPi differences.
ParallelQueue - 0.1.0.0
Adds monitors. The module contains methods for monitoring and visualization. As simulations run, the Monitor class interacts with
the main environment, gathering data at certain intervals. Moreover, the Monitor class was designed to be general
enough so that one can build their own by overriding its Name and its data-gathering Add function.
ParallelQueue - 0.0.6h1
Small but important refactoring; GeneralArrivals → Arrivals given it is the new base class.
ParallelQueue - 0.0.6
0.0.6 will likely be the only release for the next few weeks.
Next release is likely to include some of the README-listed goals and monitoring tools.
This release removes the code using the old framework and implements updated examples.
ParallelQueue - 0.0.5h2
Base models now fully rewritten using new components interface (general arrivals and service).
For distributions with multiple parameters, in order to get around the fact that tuple unpacking is currently not implemented in Python 3.x, one can write in their distributions as lambdas:
sim = RedundancyQueueSystem(seed=42, Arrival=random.expovariate, AArgs=0.1, Service=lambda w : random.uniform(0,w), SArgs=2,
parallelism=1, d=1, doPrint=True, df=True, infiniteJobs = False, numberJobs = 5)
sim.RunSim()Hotfix: Fixed naming for GeneralArrivals
Hotfix 2: Fixed error in JSQd - registers properly with environment
ParallelQueue - 0.0.5
Base models now fully rewritten using new components interface (general arrivals and service).
For distributions with multiple parameters, in order to get around the fact that tuple unpacking is currently not implemented in Python 3.x, one can write in their distributions as lambdas:
sim = RedundancyQueueSystem(seed=42, Arrival=random.expovariate, AArgs=0.1, Service=lambda w : random.uniform(0,w), SArgs=2,
parallelism=1, d=1, doPrint=True, df=True, infiniteJobs = False, numberJobs = 5)
sim.RunSim()ParallelQueue - 0.0.4
Adds general distributions as a base_model. Previously one would need to use the components and build such a model from scratch should they wanted non-Exponential based inter-arrival/service distributions. Thus, for example, one can achieve the prior functionality by writing:
# Specifies a SimPy environment consisting of a Redundancy-2
# queueing system and a Poisson arrival process.
sim = RedundancyQueueSystem(doPrint=True,maxTime=100.0,
parallelism=100, seed=1234, d=2,
Arrival=random.expovariate, AArgs=0.5,
Service=random.expovariate, SArgs=1)
sim.RunSimParallelQueue - 0.0.3
Added Join The Shortest Queue to base_models and refactorized component generators into disjoint processes.
ParallelQueue--0.0.2
Refactorization implemented to better organize code into components.