18 _register.insert(std::make_pair(score,matched_indexes));
24 std::vector<std::vector<unsigned int> > res;
40 std::vector<bool> used_index;
46 bool valid_set =
true;
48 for(
auto const&
index : (*riter).second) {
50 if(
index >= used_index.size())
52 used_index.resize(
index+1,
false);
54 else if(used_index.at(
index)) valid_set =
false;
60 result.push_back((*riter).second);
62 for(
auto&
index : (*riter).second)
64 used_index.at(
index) =
true;
Class def header for a class CMatchBookKeeper.