1 #ifndef _PartitionGenerator_H_ 2 #define _PartitionGenerator_H_ 18 std::vector<Partition>
partitions(
int collectionSize,
int minCollectionSize = 1)
const;
24 std::vector<std::vector<Partition> >
sortedPartitions(
int collectionSize,
int minCollectionSize = 1)
const;
std::vector< std::vector< Partition > > sortedPartitions(int collectionSize, int minCollectionSize=1) const
bool operator()(const Partition &a, const Partition &b)
std::vector< int > Partition
std::vector< Partition > partitions(int collectionSize, int minCollectionSize=1) const