37 #include "NodeMap.hpp"
59 for (
unsigned index=0; index<
mMap.size(); index++)
68 assert(oldIndex<
mMap.size());
69 mMap[oldIndex] = newIndex;
78 mMap[index] = UINT_MAX;
84 return (
mMap[index] == UINT_MAX);
93 if (
mMap[oldIndex] == UINT_MAX)
97 return mMap[oldIndex];
#define EXCEPTION(message)
void SetNewIndex(unsigned oldIndex, unsigned newIndex)
void SetDeleted(unsigned index)
bool IsDeleted(unsigned index)
unsigned GetNewIndex(unsigned oldIndex) const
std::vector< unsigned > mMap
void Resize(unsigned size)