A recursive function to get permutation of a list

License: Freeware
Date Added: 28 February, 2013
Category: Scripts / Others
Author: activestate.com

A recursive function to get permutation of a list script allows you to make permutation on a list of objects. The script does not work on repeated items in the list.


Advertisements



 

A recursive function to get permutation of a list script allows you to make permutation on a list of objects. The script does not work on repeated items in the list.


Operating Systems:  Python, Windows, Linux, BSD, Solaris, Mac OS


A recursive function to get permutation of a list Related Downloads
 
Download Generate the permutations of a bag 1.0

Generate the permutations of a bag 1.0  This script allows you to make permutation on a list like a set, but it could contain elements more than once.

Download JetPAG 0.6.1

JetPAG 0.6.1  JetPAG is a recursive-descent parser and lexical analyzer generator.It generates optimized recursive-descent recognizers with multi-token lookahead.

Download New Tail Recursion Decorator 1.6

New Tail Recursion Decorator 1.6  This tail recursion decorator can eliminate the tail calls for recursive functions.

Download Recursive sorting 1.0

Recursive sorting 1.0  This script allows you to sort recursively nested lists if iterable is a mutable sequence type.

Download Handling Deeply Nested/Recursive Data 1.1

Handling Deeply Nested/Recursive Data 1.1  Common python services such as pickle, deepcopy and comparison tests either fail entirely or do not scale for highly recursive data structures. This script presents a reversible "flatten" transformation that allows for such operations.

Download Loop over and descend into sequences 1.0

Loop over and descend into sequences 1.0  This is a function to iterate over a container and its elements that checks for recursive traps. The condition for descending into elements is highly configurable (a list of type() results, or a callable).

Download Permutations using generators 1.0

Permutations using generators 1.0  This script defines permIter() function that takes a sequence and returns an iterator that goes through all possible permutations of that sequence.

Download Getting th permutation of a sequence 1.1

Getting th permutation of a sequence 1.1  This script contains a function that given a sequence and a number n as parameters, returns the th permutation of the sequence (always as a list).

Download Permutation order indices 1.1

Permutation order indices 1.1  Given a list, this script finds the indices used to get the elements from the list in sorted order.

Others Popular Downloads
 
Download mvnForum .2GA 1.0

mvnForum .2GA 1.0  mvnForum is an open source, powerful, easy to use, easy to setup bulletin board (forum) built on the Java J2EE technology (Jsp/Servlet). mvnForum is compatible with any Servlet Containers which supports Jsp 1.2 and Servlet 2.3.

Download Aardvark Topsites PHP 5.2.0

Aardvark Topsites PHP 5.2.0  Aardvark Topsites PHP has a ton of features. I'm not going to bore you with all the inane details, but here is a list of the main features. - Members ranks can be shown on their button.

Download Guestbook class 1.0

Guestbook class 1.0  This class is meant to manage a guest book storing its records either in XML files database or in a SQL database. Currently it supports only MySQL databases.

Download Php Board Script 6.4.3

Php Board Script 6.4.3  Php Board Script allows you to create a simple discussion forum. It is made in Php, without My SQL, which on each server or Webspace is installed in well 5 minutes.

Download MOC Designs PHP News 1.1

MOC Designs PHP News 1.1  MOC Designs PHP News is a PHP-SQL powered, dynamic, news editor and displayer. Adding news on your website is done through a web-page form, saving you the time of editing your news page and then uploading the news page again.

Download CMS Mini 0.2.2

CMS Mini 0.2.2  CMS Mini is a very small PHP application for manage content for small web sites. Not intended for a cooperative group of editors and rewiers: simply one editor can insert new contents, immediatly pubblished on web: "one task, one click".

Download m-phorum 0.3

m-phorum 0.3  m-phorum is a new small phorum, using PHP with one mysql database backend. Tested on php 4.3, apache 1.3.27 & mysql 3.23.52. It is simple and fast.

Download PDF::Reader 1.0

PDF::Reader 1.0  The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.

Download guest-magic 0.1.2

guest-magic 0.1.2  guest-magic is a friendly tool for the rapid provisioning of Xen Guest Domains. It is written in Python with a pyGTK/Glade based user interface for maximum user friendliness. The code can be easily ported across many operating systems.

Submit Reviews for A recursive function to get permutation of a list
- required fields