OverSim
combination.h File Reference

Go to the source code of this file.

Namespaces

namespace  oversim

Functions

template<class BidIt >
bool oversim::next_combination (BidIt n_begin, BidIt n_end, BidIt r_begin, BidIt r_end)
template<class BidIt , class Prediate >
bool oversim::next_combination (BidIt n_begin, BidIt n_end, BidIt r_begin, BidIt r_end, Prediate Equal)
template<class BidIt >
bool oversim::prev_combination (BidIt n_begin, BidIt n_end, BidIt r_begin, BidIt r_end)
template<class BidIt , class Prediate >
bool oversim::prev_combination (BidIt n_begin, BidIt n_end, BidIt r_begin, BidIt r_end, Prediate Equal)
template<class RanIt , class Func >
void oversim::recursive_combination (RanIt nbegin, RanIt nend, int n_column, RanIt rbegin, RanIt rend, int r_column, int loop, Func func)