1: // Created by Frank M. Carrano and Timothy M. Henry. 2: // Copyright (c) 2017 Pearson Education, Hoboken, New Jersey. 4: template<class ItemType> 5: int ArrayMaxHeap<ItemType>::getLeftChildIndex(const int nodeIndex) const 6: { 7: return (2 * nodeIndex) + 1; 8: } // end getLeftChildIndex