ordered subset problem



 DEVELOP > c-Plus-Plus > ordered subset problem

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "John Trunek"
Date: 01 Aug 2005 03:36:18 AM
Object: ordered subset problem
I need to obtain all the ordered subsets of containing 7 elements from a
list of 15 elements. From what I remember, the number of ordered sets is
given by the formula
numOfSets = 15! / (15-8)! = 32,432,400
Unfortunately, I'm not familiar with permutation algorithms. Could someone
please point me in the right direction to solve this problem?
John
.

User: "akarl"

Title: Re: ordered subset problem 01 Aug 2005 06:54:16 AM
John Trunek wrote:

I need to obtain all the ordered subsets of containing 7 elements from a
list of 15 elements. From what I remember, the number of ordered sets is
given by the formula
numOfSets = 15! / (15-8)! = 32,432,400
Unfortunately, I'm not familiar with permutation algorithms. Could someone
please point me in the right direction to solve this problem?

Sure,
comp.lang.programming
August
.
User: "John Trunek"

Title: Re: ordered subset problem 01 Aug 2005 06:19:01 PM
"akarl" <fusionfive@comhem.se> wrote in message
news:I3oHe.143089$dP1.496862@newsc.telia.net...

John Trunek wrote:

I need to obtain all the ordered subsets of containing 7 elements from a
list of 15 elements. From what I remember, the number of ordered sets is
given by the formula
numOfSets = 15! / (15-8)! = 32,432,400
Unfortunately, I'm not familiar with permutation algorithms. Could
someone please point me in the right direction to solve this problem?


Sure,
comp.lang.programming
August

Any good free combinatorics libraries that might have this functionality?
.



  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER