| iterator.Heap {Containers} | R Documentation |
This method returns an Iterator for the Heap in question. The iterator starts at the root and traverses a given level of the tree from left to right before descending to the next level.
it = aHeap$iterator()
iterator returns an instance of Iterator.
John Hughes