heap 힙 소스파일 (heap.cpp)
본 자료는 미만의 자료로 미리보기를 제공하지 않습니다.
닫기
  • 1
해당 자료는 0페이지 까지만 미리보기를 제공합니다.
0페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

heap 힙 소스파일 (heap.cpp)에 대한 보고서 자료입니다.

본문내용

#include

using namespace std;

class Element
{
public:
    int getKey() const {return key;};
    int other() {return Other;};
    void setKey(int k) { key = k;};
    void setOther(int o) { Other = o;}
    Element(){Other = 0;};
private:
    int key;
    int Other;
};

void adjust(Element *tree, const int root, const int n)
    // Adjust the binary tree with root @root@ to satisfy the heap property. The left and right
    // subtrees of @root@ already satisfy the heap property. No node has index greater than @n@.
{

키워드

heap,   ,   소스,   heap.cpp,   cpp,   소스파일,   힙 소스파일,   소스 파일
  • 가격800
  • 페이지수1페이지
  • 등록일2013.12.06
  • 저작시기2012.9
  • 파일형식기타(cpp)
  • 자료번호#896037
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니