35 size_t n1(v1.size()), n2(v2.size());
36 for (
size_t i = 0; i < n1 && i < n2; ++i) {
37 if (v1[n1-1-i] > v2[n2-1-i])
return true;
38 if (v1[n1-1-i] < v2[n2-1-i])
return false;
44 std::vector< std::vector<int> >
vec) {
48 for (
size_t j = 0; j <
vec.size()-1; ++j) {
53 vec.erase(
vec.begin()+j+1);
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
PartBunchBase< T, Dim >::ConstIterator begin(PartBunchBase< T, Dim > const &bunch)
std::vector< std::vector< int > > CompactVector(std::vector< std::vector< int > > vec)
bool IterableEquality(TEMP_ITER a_begin, TEMP_ITER a_end, TEMP_ITER b_begin, TEMP_ITER b_end)
bool GreaterThan(std::vector< int > v1, std::vector< int > v2)
CompactVector helper function, used for sorting.