https://github.com/agneum/combinatorics
The generator of permutations with repetition
https://github.com/agneum/combinatorics
Last synced: 4 months ago
JSON representation
The generator of permutations with repetition
- Host: GitHub
- URL: https://github.com/agneum/combinatorics
- Owner: agneum
- Created: 2017-08-10T13:16:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T13:18:35.000Z (almost 8 years ago)
- Last Synced: 2024-12-28T17:31:10.144Z (5 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Permutations with repetition
The generator of permutations with repetition (the alphabet size is 2).## Installation:
```bash
composer install
```## Usage:
```bash
php index.php --fieldsCount 36 --chipCount 35
```
**Parameters:**
* ``fieldsCount`` - total number of available cells
* ``chipCount`` - number of chipsThe result is going to be in the file ``output/permutations.txt``
## Roadmap:
* Tests
* Dockerize the lib
* Use the GMP extension
* Improve the docs