//Constutor de Copia Heap::Heap(const Heap & cHeap) { this->tamHeapMax = cHeap.GetTamHeapMax(); this->tamHeap = cHeap.GetTamHeap(); this->arrayHeap = new Aresta [ this->tamHeapMax ]; Aresta * cAresta; for (int i=0; i < this->tamHeap; i++) { cAresta = cHeap.GetAresta(i); this->Push(cAresta); } this->tipo = cHeap.GetTipo(); }