src/NodeHeap.cpp
// Prints all the indices registered in the heap (for debugging purposes). 
Prints all the indices registered in the heap (for debugging purposes).
Prints all the indices registered in the heap ( for debugging purposes ) .
void printIndices(NodeHeap& heap, int rows, int columns) {
        for (size_t x = 0; x < rows; x++) {
            auto& row = heap.indices[x];
            for (size_t y = 0; y < columns; y++) {
                std::cout << row[y] << " ";
            }
            std::cout << std::endl;
        }
    }
void printIndices ( NodeHeap & heap , int rows , int columns ) { for ( size_t x = 0 ; x < rows ; x ++ ) { auto & row = heap . indices [ x ] ; for ( size_t y = 0 ; y < columns ; y ++ ) { std :: cout << row [ y ] << " " ; } std :: cout << std :: endl ; } }
Prints all the indices registered in the heap (for debugging purposes).
Prints all the indices registered in the heap ( for debugging purposes ) .
// Print the value of the index