#include <QVector>
#include <qvmath/qvmath.h>
Go to the source code of this file.
Classes | |
class | QVCombinationIterator |
Iterator over all possible combinations over a set. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const QVCombinationIterator &combination) |
Return a stream with the current subset. |
Definition in file qvcombinationiterator.h.
std::ostream& operator<< | ( | std::ostream & | os, | |
const QVCombinationIterator & | combination | |||
) |
Return a stream with the current subset.
The stream's format is: Combination(X elements over Y): {[}0{]} {[}1{]} {[}2{]} ... {[}Y{]} where "X" is the subset's size, "Y" the cardinallity and the brackets appears if the element its contain belongs to the subset.
Definition at line 55 of file qvcombinationiterator.cpp.