https://github.com/andres15alvarez/queue
Queueing Theory
https://github.com/andres15alvarez/queue
npm-package queueing-theory typescript
Last synced: about 1 month ago
JSON representation
Queueing Theory
- Host: GitHub
- URL: https://github.com/andres15alvarez/queue
- Owner: andres15alvarez
- License: mit
- Created: 2024-11-03T19:24:12.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T22:37:51.000Z (6 months ago)
- Last Synced: 2025-03-25T08:01:52.470Z (about 2 months ago)
- Topics: npm-package, queueing-theory, typescript
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Queueing Theory
 
This package provides models for queueing theory, including finite and infinite queue models. Queueing theory is the mathematical study of waiting lines, or queues. This package allows you to calculate various performance metrics for different types of queues.
This package is developed and maintained by a group of students of the Operations Research III course of the Science and Technology Department (DCyT) of UCLA, Barquisimeto.## Installation
To install the package, use npm:
```sh
npm install @dcyt/queue
```## Usage
here is an example of how to use the package:
```ts
import { Queue } from '@dcyt/queue'const queue = new Queue()
const result = queue.calculate({
lambda: 5,
mu: 8,
servers: 1,
maxCapacity: 0,
iterations: 5
})console.log(result)
```## Models
The package supports the following queue models
- MM1 Infinite
- MM1 Finite## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.