1 #ifndef _PartitionGenerator_H_ 2 #define _PartitionGenerator_H_ 21 std::vector<Partition>
partitions(
int collectionSize,
22 int minCollectionSize = 1)
const;
28 std::vector< std::vector<Partition> >
36 const Partition &
b) {
37 return a.size() < b.size();
std::vector< std::vector< Partition > > sortedPartitions(int collectionSize, int minCollectionSize=1) const
std::vector< Partition > partitions(int collectionSize, int minCollectionSize=1) const
bool operator()(const Partition &a, const Partition &b)
std::vector< int > Partition