Combination Class: Generate combinations of an array of values

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 475 All time: 5,892 This week: 251Up
Version License PHP version Categories
combination-class 1.0.0GNU General Publi...5.5Algorithms, PHP 5
Collaborate with this project Author

Combinations - github.com

Description

This class can be used to generate combinations of an array of values.

It takes an array of values and generates all possible combinations of those values including permutation of order of the values.

The class can be configured to only get unique combinations, i.e. identical combinations of values are not generated.

Picture of Ovunc Tukenmez
  Performance   Level  
Name: Ovunc Tukenmez <contact>
Classes: 14 packages by
Country: Turkey Turkey
Age: 34
All time rank: 74113 in Turkey Turkey
Week rank: 77 Up2 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files  
File Role Description
Plain text file Combinations.php Class Class source
Accessible without login Plain text file example.php Example example script (for all values)
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:475
This week:0
All time:5,892
This week:251Up

For more information send a message to info at phpclasses dot org.