Download the PHP package phpexperts/combinatorics without Composer
On this page you can find all versions of the php package phpexperts/combinatorics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phpexperts/combinatorics
More information about phpexperts/combinatorics
Files in phpexperts/combinatorics
Package combinatorics
Short Description A collection of utility classes for dealing with combinations.
License MIT
Homepage https://www.phpexperts.pro/
Informations about the package combinatorics
Combinatorics
Combinatorics is a PHP Experts, Inc., Project meant for the ease of access of Combinatorics algorithms.
See https://en.wikipedia.org/wiki/Combinatorics
Memory Consumption
Storing thousands of possibilities can be extremely memory intensive.
However, this project utilizes PHP Generators and uses only a few kilobytes to calculate and output millions of potential combinations (See the Benchmarks section below).
Generating All Possible Combinations
What are all the possibilities of A, B, C and D? More than you might think! 64. Add two more letters and you've got 1,956 possibilities.
How many different parking spot orderings can 8 cars occupy on any given day? Find out in the Usage section below!
Installation
Via Composer
Usage
You can see real-world usage of this project in the test suite of the Console Painter project](https://github.com/PHPExpertsInc/ConsolePainter).
Use cases
Testing
To actually see what's going on -and- run the stress tests, run
Note: It takes over 5 minutes on an Intel i7 to run all of the stress tests.
Benchmarks
Contributors
Theodore R. Smith [email protected]
GPG Fingerprint: 4BF8 2613 1C34 87AC D28F 2AD8 EB24 A91D D612 5690
CEO: PHP Experts, Inc.
{ "transactionId" : "$transactionId", "crmId" : "$crmId", "zAccountId" : "$zuoraAccountId", "facilityId" : "$facilityId", "promo_code" : "$promo_code", "transactionTotal" : "$total_cost_for_facebook", "transactionProducts" : [$transactionProducts], "transactionAffiliation" : "U.S. LawShield" }
License
MIT license. Please see the license file for more information.