5 std::vector<ftm::idNode> &matchingVector,
6 std::vector<ftm::idNode> &invMatchingVector) {
7 invMatchingVector.clear();
8 invMatchingVector.resize(noNodes, std::numeric_limits<ftm::idNode>::max());
9 for(
unsigned int i = 0; i < matchingVector.size(); ++i)
10 if(matchingVector[i] < noNodes)
11 invMatchingVector[matchingVector[i]] = i;