数据结构
在线手册:中文 英文
PHP手册

The SplMinHeap class

(PHP 5 >= 5.3.0)

简介

The SplMinHeap class provides the main functionalities of a heap, keeping the minimum on the top.

类摘要

SplMinHeap extends SplHeap implements Iterator , Countable {
/* 方法 */
int compare ( mixed $value1 , mixed $value2 )
/* 继承的方法 */
abstract int SplHeap::compare ( mixed $value1 , mixed $value2 )
int SplHeap::count ( void )
mixed SplHeap::current ( void )
mixed SplHeap::extract ( void )
void SplHeap::insert ( mixed $value )
bool SplHeap::isEmpty ( void )
mixed SplHeap::key ( void )
void SplHeap::next ( void )
void SplHeap::rewind ( void )
mixed SplHeap::top ( void )
bool SplHeap::valid ( void )
}

Table of Contents


数据结构
在线手册:中文 英文
PHP手册