Code to index and enumerate subsets of a set by size, in Banker's order
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c#
java
javascript
php
python
README

README

See http://www.thelowlyprogrammer.com/2010/04/indexing-and-enumerating-subsets-of.html for a description and analysis of the algorithm implemented here.

C# port kindly provided by Ligon Liu.
Python port kindly provided by Josiah Carlson.
Javascript and PHP ports kindly provided by Richard Lyon: http://richardlyon.co.uk