Place n indistinguishable items into k distinguishable boxes
castironpi at gmail.com
castironpi at gmail.com
Wed Feb 27 23:02:59 EST 2008
On Feb 27, 9:31 pm, Michael Robertson <mcrobert... at hotmail.com> wrote:
> Michael Robertson wrote the following on 02/27/2008 06:40 PM:
>
> > I need a generator which produces all ways to place n indistinguishable
> > items into k distinguishable boxes.
>
> I found:
>
> http://portal.acm.org/citation.cfm?doid=363347.363390
>
> Do anyone know if there are better algorithms than this?
Or free?
More information about the Python-list
mailing list