All k-subsets from an n-set

Category: Python - Education

This script yields each subset of size k from a super set of size n. There are two methods. The first operates on sets of integers of the form range(n). The seconds operates on arbitrary sets or lists. Date: 01 March, 2012


Sets Of Integers - Subset Extraction Algorithm - Extraction Algorithm - Subset - Extraction - Algorithm

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

The images are shown one at a time; the user can dynamically switch among them using previous/next links.

developer Developer: ftp.drupal.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This function can extract a inner function from a class or a function.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


It simplifies the process of adding thumbnails, feature images or other types of images.

developer Developer: wordpress.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


The image can be displayed calling the showTitleimage(), which accepts mutliple parameters, inside template files.

developer Developer: wordpress.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


The plugin's main feature is the capability to resize the image found to a destination size.

developer Developer: wordpress.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


The fields that MAQUM uses to set the node title, body and date and time can be configured.

developer Developer: ftp.drupal.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


It includes an API which can be used by other modules to act upon files located with the system.

developer Developer: ftp.drupal.org
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


xor for strings script demonstrates the use of simple xor for strings.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script shows you how to kick off a slow process without waiting around for the result.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All