pairheap.h

来自「数据结构与算法分析(C语言描述)的源代码 里面的代码的质量非常高」· C头文件 代码 · 共 22 行

H
22
字号
        typedef int ElementType;        #ifndef _PairHeap_H        #define _PairHeap_H        struct PairNode;        typedef struct PairNode *PairHeap;        typedef struct PairNode *Position;        PairHeap Initialize( void );        void Destroy( PairHeap H );        PairHeap MakeEmpty( PairHeap H );        PairHeap Insert( ElementType Item, PairHeap H, Position *Loc );        PairHeap DeleteMin( ElementType *MinItem, PairHeap H );        ElementType FindMin( PairHeap H );        PairHeap DecreaseKey( Position P,                              ElementType NewVal, PairHeap H );        int IsEmpty( PairHeap H );        int IsFull( PairHeap H );        #endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?