18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.3.6 Generating Partitions<br />

1.3.6 Generating Partitions<br />

INPUT OUTPUT<br />

Input Description: An integer n .<br />

Problem: Generate (1) all, or (2) a random, or (3) the next integer or set partitions of length n .<br />

Implementations<br />

● Nijenhuis and Wilf: Combinatorial <strong>Algorithm</strong>s (FORTRAN) (rating 8)<br />

● Combinatorica (Mathematica) (rating 7)<br />

● Frank Ruskey's Combinatorial Generation Resources (Pascal) (rating 7)<br />

● Netlib / TOMS -- Collected <strong>Algorithm</strong>s of the ACM (FORTRAN) (rating 6)<br />

● <strong>The</strong> Stanford GraphBase (C) (rating 5)<br />

Related Problems<br />

file:///E|/WEBSITE/FILES/GEITIONS.HTM (1 of 2) [19/1/2003 1:37:20]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!