PARP Research Group Universidad de Murcia

src/qvmath/qvcombinationiterator.h File Reference

File from the QVision library. More...

#include <qvmath.h>
#include <QVector>

Go to the source code of this file.


class  QVCombinationIterator
 Iterator over all possible combinations over a set. More...


std::ostream & operator<< (std::ostream &os, const QVCombinationIterator &combination)
 Return a stream with the current subset.

Detailed Description

File from the QVision library.

PARP Research Group. University of Murcia, Spain.

Definition in file qvcombinationiterator.h.

Function Documentation

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.

the current subset's stream.

Definition at line 55 of file qvcombinationiterator.cpp.

QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.