Vacancy Tracking Algorithm implementation in C++
- by Dave
I'm trying to use the vacancy tracking algorithm to perform transposition of multidimensional arrays in C++. The arrays come as void pointers so I'm using address manipulation to perform the copies.
Basically, there is an algorithm that starts with an offset and works its way through the whole 1-d representation of the array like swiss cheese,…