21 #ifndef __FINLEY_NODEMAPPING_H__
22 #define __FINLEY_NODEMAPPING_H__
39 void assign(
const std::vector<int>& theTarget,
int unused)
41 std::pair<int,int> range(
43 if (range.first < 0) {
48 const int numTargets = range.first<=range.second ? range.second+1 : 0;
49 target.assign(theTarget.begin(), theTarget.end());
50 map.assign(numTargets, -1);
55 for (
int i=0; i<
target.size(); ++i) {
61 for (
int i=0; i<numTargets; ++i) {
80 #endif // __FINLEY_NODEMAPPING_H__